Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Help:If"

From Paragon Wiki Archive
Jump to: navigation, search
(initial entry, needs long version.)
 
m
 
Line 19: Line 19:
 
! explain
 
! explain
 
| If the third parameter exists
 
| If the third parameter exists
| Then display '''third: ''whatever_third_was'''''
+
| Then display '''third: '''''whatever_third_was''
 
| Else display '''done'''
 
| Else display '''done'''
 
|}
 
|}

Latest revision as of 18:23, 14 March 2007

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