Difference between revisions of "Template:If"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*default 4th param to not set;)
(+ifeq support;)
Line 1: Line 1:
<includeonly>{{P{{#if{{{1}}}:{{{2}}}|1|2}}|{{{3}}}|{{{4|}}}}}</includeonly><noinclude>Acts like an <nowiki>{{#if:}}</nowiki> but with without trimming of the parameters.
+
<includeonly>{{#ifeq:{{{1}}}|eq|{{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.
  
 
== See also ==
 
== See also ==

Revision as of 21:54, 11 July 2013

Acts like an {{#if:}} but with without trimming of the parameters.

See also