Template:Property/doc
This is a documentation subpage for Template:Property. It contains usage information, categories, and other content that is not part of the original template page. |
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 |