Difference between revisions of "Template:If"
From Kerbal Space Program Wiki
Rocketdocker (talk | contribs) (Edits.) |
Rocketdocker (talk | contribs) (Edits.) |
||
Line 1: | Line 1: | ||
<includeonly>{{P{{#ifeq:{{{1}}}|eq|1|2}}|{{P{{#ifeq:{{{2}}}|{{{3}}}|1|2}}|{{{4}}}|{{{5|}}}}}|{{P{{#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|{{{4|}}}}}}}</includeonly><noinclude> | <includeonly>{{P{{#ifeq:{{{1}}}|eq|1|2}}|{{P{{#ifeq:{{{2}}}|{{{3}}}|1|2}}|{{{4}}}|{{{5|}}}}}|{{P{{#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|{{{4|}}}}}}}</includeonly><noinclude> | ||
+ | |||
+ | {{Documentation}} | ||
[[Category:Formatting and function templates]] | [[Category:Formatting and function templates]] | ||
[[Category:Wikimedia templates]]</noinclude> | [[Category:Wikimedia templates]]</noinclude> |
Revision as of 20:38, 26 January 2020
Purpose
This template acts like an {{#if:}} but with without trimming of the parameters.
See also
- Template:If on Wikipedia
The above documentation is transcluded from Template:If/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |