Template:AlignmentIcon: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
No edit summary
imported>Konoko
(+all)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{1}}}
<includeonly>{{#switch: {{{1}}}
| Hero = [[Image:Align_Status_Hero.png|{{{2|32px}}}]]
| Hero = [[Image:Align_Status_Hero.png|{{{2|32px}}}]]
| Villain = [[Image:Align_Status_Villain.png|{{{2|32px}}}]]
| Villain = [[Image:Align_Status_Villain.png|{{{2|32px}}}]]
Line 6: Line 6:
| Resistance = [[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| Resistance = [[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| Loyalist = [[Image:Align_Status_Loyalist.png|{{{2|32px}}}]]
| Loyalist = [[Image:Align_Status_Loyalist.png|{{{2|32px}}}]]
| Hero2 = [[Image:Align_Status_Hero.png|{{{2|32px}}}]][[Image:Align_Status_Vigilante.png|{{{2|32px}}}]]
| Villain2 = [[Image:Align_Status_Villain.png|{{{2|32px}}}]][[Image:Align_Status_Rogue.png|{{{2|32px}}}]]
| Praetorian = [[Image:CreateSymbol Praetorian Grey.png|{{{2|32px}}}]]
| Praetorian2 = [[Image:Align_Status_Loyalist.png|{{{2|32px}}}]][[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| All = [[Image:Align_Status_Hero.png|{{{2|32px}}}]][[Image:Align_Status_Vigilante.png|{{{2|32px}}}]][[Image:Align_Status_Villain.png|{{{2|32px}}}]][[Image:Align_Status_Rogue.png|{{{2|32px}}}]][[Image:Align_Status_Loyalist.png|{{{2|32px}}}]][[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| AllVeritical = [[Image:Align_Status_Hero.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Vigilante.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Villain.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Rogue.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Loyalist.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| [[Image:icon_clue_generic.png|{{{2|32px}}}]]
| [[Image:icon_clue_generic.png|{{{2|32px}}}]]
}}<noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:52, 20 August 2010

[edit] [purge] Documentation

Usage

{{AlignmentIcon|<Alignment>|<Size (Optional)>}}
Default size is 32px
{{#switch: {{{1}}}
| Hero = [[Image:Align_Status_Hero.png|{{{2|32px}}}]]
| Villain = [[Image:Align_Status_Villain.png|{{{2|32px}}}]]
| Vigilante = [[Image:Align_Status_Vigilante.png|{{{2|32px}}}]]
| Rogue = [[Image:Align_Status_Rogue.png|{{{2|32px}}}]]
| Resistance = [[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| Loyalist = [[Image:Align_Status_Loyalist.png|{{{2|32px}}}]]
| Hero2 = [[Image:Align_Status_Hero.png|{{{2|32px}}}]][[Image:Align_Status_Vigilante.png|{{{2|32px}}}]]
| Villain2 = [[Image:Align_Status_Villain.png|{{{2|32px}}}]][[Image:Align_Status_Rogue.png|{{{2|32px}}}]]
| Praetorian = [[Image:CreateSymbol Praetorian Grey.png|{{{2|32px}}}]]
| Praetorian2 = [[Image:Align_Status_Loyalist.png|{{{2|32px}}}]][[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| All = [[Image:Align_Status_Hero.png|{{{2|32px}}}]][[Image:Align_Status_Vigilante.png|{{{2|32px}}}]][[Image:Align_Status_Villain.png|{{{2|32px}}}]][[Image:Align_Status_Rogue.png|{{{2|32px}}}]][[Image:Align_Status_Loyalist.png|{{{2|32px}}}]][[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| AllVeritical = [[Image:Align_Status_Hero.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Vigilante.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Villain.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Rogue.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Loyalist.png|{{{2|32px}}}]]<br />[[Image:Align_Status_Resistance.png|{{{2|32px}}}]]
| [[Image:icon_clue_generic.png|{{{2|32px}}}]]
}}

Examples

Result Input and description
Icon clue generic.png {{AlignmentIcon|Vilain}} (misspelled/non-existant alignment)
ndsss {{AlignmentIcon|Villain|ndsss}} (incorrect size is ignored)
Results Input
Align Status Hero.png {{AlignmentIcon|Hero|20px}}
Align Status Villain.png {{AlignmentIcon|Villain|50px}}
Align Status Rogue.png {{AlignmentIcon|Rogue}}
Align Status Vigilante.png {{AlignmentIcon|Vigilante}}
Align Status Resistance.png {{AlignmentIcon|Resistance}}
Align Status Loyalist.png {{AlignmentIcon|Loyalist}}
Icon clue generic.png {{AlignmentIcon|Warshade}}
Results Input
Align Status Hero.pngAlign Status Vigilante.png {{AlignmentIcon|Hero2|20px}}
Align Status Villain.pngAlign Status Rogue.png {{AlignmentIcon|Villain2|50px}}
CreateSymbol Praetorian Grey.png {{AlignmentIcon|Praetorian}}
Align Status Loyalist.pngAlign Status Resistance.png {{AlignmentIcon|Praetorian2}}
Align Status Hero.pngAlign Status Vigilante.pngAlign Status Villain.pngAlign Status Rogue.pngAlign Status Loyalist.pngAlign Status Resistance.png {{AlignmentIcon|All}}
Align Status Hero.png
Align Status Vigilante.png
Align Status Villain.png
Align Status Rogue.png
Align Status Loyalist.png
Align Status Resistance.png
{{AlignmentIcon|AllVertical|12px}}

See also

{{ArchetypeIcon}}