Help:If
Revision as of 18:19, 14 March 2007 by imported>Konoko (initial entry, needs long version.)
Short Version
If Then statements in the wiki are a little tricky. They are best used in Templates.
normal | IF | THEN | ELSE |
---|---|---|---|
wiki | {{#if:ifexists_stuffs | |then_stuffs | |else_stuffs(optional)}} |
example | {{#if: {{{3|}}} | |'''third: '''{{{3}}} | |'''done'''}} |
explain | If the third parameter exists | Then display third: whatever_third_was | Else display done |