Difference between revisions of "Template:If"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by 2 users not shown)
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>Acts like an <nowiki>{{#if:}}</nowiki> but with without trimming of the parameters.
+
<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}}
== See also ==
+
[[Category:Formatting and function templates]]
* [[metawikipedia:Template:If|Template:If]] in the Meta-Wiki
+
[[Category:Wikimedia templates]]</noinclude>
 
 
[[Category:Templates]]</noinclude>
 

Latest revision as of 22:13, 2 February 2020

Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:If

Purpose

This template acts like an {{#if:}} but with without trimming of the parameters.


See also