Template:P: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Didn't notice this possibility)
mNo edit summary
 
Line 1: Line 1:
<includeonly><onlyinclude><code style="padding:0">&#124;{{#ifeq:{{{2|}}}|{{{2}}}|<span style="color:#DDD">{{{1|}}}</span>&#61;{{{2|}}}|<nowiki />{{{1|}}}}}</code></onlyinclude></includeonly>
<includeonly><onlyinclude><samp class="notranslate">&#124;{{#ifeq:{{{2|}}}|{{{2}}}|<span style="color:#DDD">{{{1|}}}</span>&#61;{{{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.
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 11:30, 20 May 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