Template:P: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude | <includeonly><onlyinclude>|{{#ifeq:{{{2|}}}|{{{2}}}|<span style="color:#DDD">{{{1|}}}</span>={{{2}}}|<nowiki/>{{{1|}}}}}</onlyinclude></includeonly> | ||
Template for inserting a parameter as text. Created primarily for use on template documentation pages | Template for inserting a parameter as text. Created primarily for use on template documentation pages with the {{T|T}} template. | ||
== Examples == | == Examples == | ||
{{Code| | {{Code|{{T|P}}}} → {{P}} | ||
{{Code| | {{Code|{{T|P|{{P|Some Text}}}}}} → {{P|Some Text}} | ||
{{Code| | {{Code|{{T|P|{{P}}{{P|Some Text}}}}}} → {{P||Some Text}} | ||
{{Code| | {{Code|{{T|P|{{P|1}}{{P|Some Text}}}}}} → {{P|1|Some Text}} | ||
{{Code| | {{Code|{{T|P|{{P|param}}{{P}}}}}} → {{P|param|}} | ||
{{Code| | {{Code|{{T|P|{{P|strings}}{{P|10}}}}}} → {{P|strings|10}} | ||
{{Code| | {{Code|{{T|P|{{P|strings}}{{P|10}}}}{{T|P|{{P|test}}{{P|1}}}}}} → {{P|strings|10}}{{P|test|1}} | ||
{{ | |||