Template:Property
Usage
editThis is used to show a localized label for a property, linked to the property page. It automatically uses the current user's language. {{P}} is a shortcut that redirects here. For example:
{{P|25}}
→ P25 (P25)
You can use the anchor
parameter to provide an html anchor (see {{anchor}}), and show_p=no
to hide the (PXX) prefix, as in:
{{P|25|show_p=no}}
→ P25
See also
edit- Template:Q
- Template:Label, allowing you to get the label of an item. {{label}} is also used internally by {{Property}}
Create a localized link to a property
Parameter | Description | Type | Status | |
---|---|---|---|---|
Property | 1 | Property identifier
| Page name | required |
Anchor | anchor | Create an anchor for the link
| String | optional |
Show identifier | show_p | Show the property identifier after its localized name
| String | optional |
The above documentation is transcluded from Template:Property/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |