Template:TipChoice: Difference between revisions
Jump to navigation
Jump to search
imported>Ankhani (Tip Alignment Choice) |
imported>Aggelakis m (update) |
||
Line 1: | Line 1: | ||
{| align="center" | <includeonly>{| align="center" width="90%" | ||
|- | |||
| align="center" width="50%" | {{divbox|{{#switch: {{{align1|}}} | |||
<noinclude>{{Documentation}} [[Category:Templates]]</noinclude> | | hero | ||
| Hero = blue | |||
| villain | |||
| Villain = red | |||
| black | |||
}}|[[File:Align Status {{ucfirst: {{{align1|Missing Input [align1]}}} }}.png{{!}}24px]] {{uc: {{{align1}}} }}|''{{{choice1|Missing Input [choice1]}}}''}} | |||
| align="center" width="50%" | {{divbox|{{#switch: {{{align2|}}} | |||
| vigilante | |||
| Vigilante | |||
| rogue | |||
| Rogue = yellow | |||
| black | |||
}}|[[File:Align Status {{ucfirst: {{{align2|Missing Input [align2]}}} }}.png{{!}}24px]] {{uc: {{{align2}}} }}|''{{{choice2|Missing Input [choice2]}}}''}} | |||
|}</includeonly><noinclude>{{Documentation}} [[Category:Alignment Templates]]</noinclude> |
Revision as of 02:20, 31 August 2010
[edit] [ ] Documentation
Usage
This template is for use on Tip Missions. There are four variables.
- align1 = Must be either Hero or Villain. (Required)
- choice1 = What the first alignment choice box says. (Required)
- align2 = If present, must be either Vigilante or Rogue. (Optional)
- 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}}