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 "Template:TipChoice"

From Paragon Wiki Archive
Jump to: navigation, search
(attempt to make align2 optional)
(fail/fix?)
Line 8: Line 8:
 
| black
 
| black
 
}}|[[File:Align Status {{ucfirst: {{{align1|Missing Input [align1]}}} }}.png{{!}}24px]] {{uc: {{{align1}}} }}|''{{{choice1|Missing Input [choice1]}}}''}}
 
}}|[[File:Align Status {{ucfirst: {{{align1|Missing Input [align1]}}} }}.png{{!}}24px]] {{uc: {{{align1}}} }}|''{{{choice1|Missing Input [choice1]}}}''}}
{{#if:{{align2|}}|{{!}} align="center" width="50%" {{!}} {{divbox|{{#switch: {{{align2|}}}
+
{{#if:{{{align2|}}}|{{!}} align="center" width="50%" {{!}} {{divbox|{{#switch: {{{align2|}}}
 
| vigilante
 
| vigilante
 
| Vigilante
 
| Vigilante

Revision as of 06:12, 15 December 2011

[edit] [purge] Documentation

Usage

This template is for use on Tip Missions. There are four variables.

  1. align1 = Must be either Hero or Villain. (Required)
  2. choice1 = What the first alignment choice box says. (Required)
  3. align2 = If present, must be either Vigilante or Rogue. (Optional)
  4. choice2 = What the second alignment choice box says. (Required if align2 is used)

Examples

{{TipChoice|align1=Hero|choice1=Hero Choice Text|align2=Vigilante|choice2=Vigilante Choice Text}}

{{TipChoice|align1=Villain|choice1=Villain Choice Text|align2=Rogue|choice2=Rogue Choice Text}}

{{TipChoice|align1=Hero|choice1=Hero Choice Text}}

{{TipChoice|align1=Villain|choice1=Villain Choice Text}}