Template:Property/doc

From Wikidata
Jump to navigation Jump to search

Usage[edit]

This 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}}mother (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}}mother

See also[edit]

Create a localized link to a property

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Property1

Property identifier

Example
P31
Pagerequired
Anchoranchor

Create an anchor for the link

Default
no
Example
"yes" or "no"
Stringoptional
Show identifiershow_p

Show the property identifier after its localized name

Default
yes
Example
"yes" or "no"
Stringoptional