Difference between revisions of "Template:P"
Jump to navigation
Jump to search
(Set a maintenance reason, if the requested Property doesn't exist) |
(removed maintenance reason: not very practical, since it's often checked just to know if a property exists or not.) |
||
(One intermediate revision by the same user not shown) | |||
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> |
Latest revision as of 23:35, 7 April 2023
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]
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. |