Difference between revisions of "Template:P"
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>{{ | + | <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
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
The above documentation is transcluded from Template:P/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |