Template:Pg/doc
This is a documentation subpage for Template:Pg. It contains usage information, categories, and other content that is not part of the original template page. |
This template uses Lua: |
Wikispecies doesn't yet have any complete documentation about this template. Please see MediaWiki Template:Page language link and Wikimedia Commons Template:Pg for further details.
Usage
editRender localized link to Wikispecies/Help page name
Parameter | Description | Type | Status | |
---|---|---|---|---|
target | 1 | Target page name, optionally including an anchor (i.e. “Page#Anchor”). Note that the anchor may be different in translations; preferably add an untranslatable anchor (see usage notes on Commons) to link to. | Line | required |
display name | 2 | Override link text. By default the link text is the localized title of the linked page (except for Category, File and Special namespaces). | Line | optional |
language | lang | Language to link for. It’s needed only when using this template in other templates, it can automatically detect the language in Commons and Help namespaces. By default the page language for links to the Commons and Help namespaces, user language for other namespaces. | Line | optional |