Help:If
From City of Heroes: Rebirth Wiki
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 |