Difference between revisions of "Template:P"

From RimWorld Wiki
Jump to navigation Jump to search
(this way it works on every page in every namespace)
(removed maintenance reason: not very practical, since it's often checked just to know if a property exists or not.)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Q|{{PAGENAME}}|{{{1}}}}}</includeonly><noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}</noinclude>
+
<includeonly>{{#show: {{FULLPAGENAME}} | ?{{{1}}} | link = none }}</includeonly><noinclude><!-- Add categories and interwikis to the /doc subpage, not here! -->{{Documentation}}</noinclude>

Latest revision as of 23:35, 7 April 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

Description[edit]

This template shows the specified property of the page it is used on. It can be used within tables or anywhere.

Warning: This template is used on a lot of pages. Use caution when editing this template.

Syntax[edit]

{{P|<property>}}

Required parameters:
Property: Show the value of this property.

Optional parameters:
No optional parameters are accepted.

Examples[edit]

You can see this pages properties on: Special:Browse/:Template:P

Typing the following on this page:

{{P|Modification date}}

Gives:

7 April 2023 23:35:16


Typing the following on this page:

{{P|Category}}

Gives:

Category:SMW templates

See also[edit]

Template:Q