Useful

From TV-Nihon
Revision as of 23:14, 23 December 2014 by Takenoko (talk | contribs)

If Code

 {{#if:x| p | q }} gives "p" 

{{#if:  {{{4}}}|[[{{{4}}}]]|'''N/A'''}}

http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23if

If Equal

{{#ifeq: string 1 | string 2 | value if identical | value if different }}

If Exist

{{#ifexist: {{{{{1}}}/list|{{{2}}}}} Guests|[[{{{{{1}}}/list|{{{2}}}}} Guests|Guests]]<br>}}

Collapsible table