Template:Property/doc

From Wikiquote
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}}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]

Create a localized link to a property

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Property1

Property identifier

Example
P31
Page namerequired
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