Template:P: Difference between revisions

From wikibase
No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
== Usage ==
== Usage ==
This is used to show a localized label for a property, linked to the property page. It automatically uses the current user's language. {{Tlxp|P}} is a shortcut that redirects here. For example:
This is used to show a localized label for a property, linked to the property page. It automatically uses the current user's language. For example:


{{Tlxp|P|25}} → {{P|25}}
{{Tlxp|P|25}} → {{P|25}}

Latest revision as of 09:57, 17 December 2024

Usage[edit source]

This is used to show a localized label for a property, linked to the property page. It automatically uses the current user's language. For example:

<templatestyles src="Template:Mono/styles.css"/><templatestyles src="Template:Nowrap/styles.css"/>{{P|25}}has characteristic (P25)

You can use the |show_p=no to hide the (PXX) prefix, as in:

<templatestyles src="Template:Mono/styles.css"/><templatestyles src="Template:Nowrap/styles.css"/>{{P|25|show_p=no}}has characteristic