Template:P: Difference between revisions

From Zombie Panic! Official Wiki
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
Line 1: Line 1:
<includeonly><onlyinclude><samp class="notranslate">&#124;{{#ifeq:{{{2|}}}|{{{2}}}|<span style="color:#DDD">{{{1|}}}</span>&#61;{{{2}}}|<nowiki/>{{{1|}}}}}</samp></onlyinclude></includeonly>
<includeonly><onlyinclude>{{#ifeq:{{{2|}}}|{{{2}}}|<span style="color:#DDD">{{{1|}}}</span>&#61;{{{2}}}|<nowiki/>{{{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.



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}}1=Some Text

{{P|param|}}param=

{{P|strings|10}}strings=10

{{P|strings|10}}{{P|test|1}}strings=10test=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