Template:P: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly><onlyinclude><samp class="notranslate">|{{#ifeq:{{{2|}}}|{{{2}}}|<span style="color:#DDD">{{{1|}}}</span>={{{2}}}|<nowiki/>{{{1|}}}}}</samp></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. == Examples == {{Code|<nowiki>{{P}}</nowiki>}} → {{P}} {{Code|<nowiki>{{P|Some Text}}</nowiki>}} → {{P|Some..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude> | <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