GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
Register
m (+documentation)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{{else{{{if|}}}|{{{if{{{if|}}}|{{{then|}}}}}}}}}<noinclude>
+
{{#if:{{{if}}}|{{{then}}}|{{{else}}}}}<includeonly>[[Category:Uses deprecated templates]]</includeonly><noinclude>
  +
<span style="color:red">This template is deprecated. For logic-related functions, please use [[metawm:ParserFunctions|ParserFunctions]].</span>
  +
 
==Usage==
 
==Usage==
 
<nowiki>{{If-Then-Else|if=if condition|then=Then text|else=else text}}</nowiki>
 
<nowiki>{{If-Then-Else|if=if condition|then=Then text|else=else text}}</nowiki>
  +
==Notes==
 
 
[[Category:Templates/Deprecated]]</noinclude>
*to check if a parameter exists, use a null replacement syntax. for instance, to see if parameter 1 was passed from the calling page, set <nowiki>"{{{1|}}}"</nowiki> as the if condition.
 
[[Category:Templates/Advanced]]</noinclude>
 

Latest revision as of 12:50, 3 May 2008

{{{then}}} This template is deprecated. For logic-related functions, please use ParserFunctions.

Usage

{{If-Then-Else|if=if condition|then=Then text|else=else text}}