Template:P: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#ifeq:{{{2|}}}|{{{2}}}| | <includeonly><onlyinclude>{{#ifeq:{{{2|}}}|{{{2}}}|{{{1|}}}{{{2}}}|{{{1|}}}}}</onlyinclude></includeonly> | ||
Template for inserting a parameter as text. Created primarily for use on template documentation pages. Also used in conjunction with the <nowiki>{{T}}</nowiki> template. | Template for inserting a parameter as text. Created primarily for use on template documentation pages. Also used in conjunction with the <nowiki>{{T}}</nowiki> template. | ||
Latest revision as of 23:28, 24 August 2025
Template for inserting a parameter as text. Created primarily for use on template documentation pages. Also used in conjunction with the {{T}} template.
Examples
{{P}} →
{{P|Some Text}} → Some Text
{{P||Some Text}} → Some Text
{{P|1|Some Text}} → 1Some Text
{{P|param|}} → param
{{P|strings|10}} → strings10
{{P|strings|10}}{{P|test|1}} → strings10test1
With Spaces
{{P| Some Text }} → Some Text
{{P| | Some Text }} → Some Text
{{P| 1 | Some Text }} → 1 Some Text
{{P| param |}} → param
{{P| strings | 10 }} → strings 10
{{P| strings | 10 }}{{P| test | 1 }} → strings 10 test 1