Template:TipChoice: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(fail/fix?)
imported>Sekoia (historical)
(scaling fix?)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| align="center" width="90%"
<includeonly>{| align="center" width="{{#if:{{{align2|}}}|90%|45%}}"
|-
|-
| align="center" width="50%" | {{divbox|{{#switch: {{{align1|}}}
| align="center" width="{{#if:{{{align2|}}}|50%|100%}}" | {{divbox|{{#switch: {{{align1|}}}
| hero
| hero
| Hero  = blue
| Hero  = blue
Line 14: Line 14:
| Rogue = yellow
| Rogue = yellow
| black
| black
}}{{!}}[[File:Align Status {{ucfirst: {{{align2|Missing Input [align2]}}} }}.png{{!}}24px]] {{uc: {{{align2}}} }}|''{{{choice2|Missing Input [choice2]}}}''}} }}
}}|[[File:Align Status {{ucfirst: {{{align2|Missing Input [align2]}}} }}.png{{!}}24px]] {{uc: {{{align2}}} }}|''{{{choice2|Missing Input [choice2]}}}''}} }}
|}</includeonly><noinclude>{{Documentation}} [[Category:Alignment Templates]]</noinclude>
|}</includeonly><noinclude>{{Documentation}} [[Category:Alignment Templates]]</noinclude>

Latest revision as of 06:17, 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}}