Difference between revisions of "Template:P"

From RimWorld Wiki
Jump to navigation Jump to search
(ok, now it should work in all namespaces)
(Simplification. There is no need to use Template:Q for this)
Line 1: Line 1:
<includeonly>{{Q|{{FULLPAGENAME}}|{{{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>

Revision as of 22:58, 7 April 2023

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

Description

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

{{P|<property>}}

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

Optional parameters:
No optional parameters are accepted.

Examples

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

Template:Q