Template:P: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><onlyinclude><code style="padding:0">|{{#ifeq:{{{2|}}}|{{{2}}}|<span style="color:#DDD">{{{1|}}}</span>={{{2|}}}|<nowiki />{{{1|}}}}}</code></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 difference)
|
Latest revision as of 04:16, 4 January 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}}
→ |1=Some Text
{{P|param|}}
→ |param=
{{P|strings|10}}
→ |strings=10
{{P|strings|10}}{{P|test|1}}
→ |strings=10
|test=1
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