Template:AlignmentIcon: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
mNo edit summary
imported>Konoko
No edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
{{#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 7: Line 7:
| Loyalist = [[Image:Align_Status_Loyalist.png|{{{2|32px}}}]]
| Loyalist = [[Image:Align_Status_Loyalist.png|{{{2|32px}}}]]
| [[Image:icon_clue_generic.png|{{{2|32px}}}]]
| [[Image:icon_clue_generic.png|{{{2|32px}}}]]
}}</includeonly><noinclude>
}}<noinclude>
{{tl|AlignmentIcon|<Alignment>|<Size (optional)>}}
{{documentation}}
 
</noinclude>
{{tl|AlignmentIcon|<Alignment>|<Size (Optional)>}}
 
{|
| align="right" | {{AlignmentIcon|Vilain}} || {{tl|AlignmentIcon|Vilain}} (misspelled/non-existant alignment)
|-
| align="right" | {{AlignmentIcon|Villain|ndsss}} || {{tl|AlignmentIcon|Villain|ndsss}} (incorrect size is ignored)
|-
|}
{| class="wikitable"
! Results !! Input
|-
|{{AlignmentIcon|Hero|20px}} || {{tl|AlignmentIcon|Hero|20px}}
|-
|{{AlignmentIcon|Villain|50px}} || {{tl|AlignmentIcon|Villain|50px}}
|-
|{{AlignmentIcon|Rogue}} || {{tl|AlignmentIcon|Rogue}}
|-
|{{AlignmentIcon|Vigilante}} || {{tl|AlignmentIcon|Vigilante}}
|-
|{{AlignmentIcon|Resistance}} || {{tl|AlignmentIcon|Resistance}}
|-
|{{AlignmentIcon|Loyalist}} || {{tl|AlignmentIcon|Loyalist}}
|-
|{{AlignmentIcon|Warshade}} || {{tl|AlignmentIcon|Warshade}}
|}
 
 
[[Category:Userbox Templates]]</noinclude>

Revision as of 01:19, 19 August 2010

Icon clue generic.png

[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
Icon clue generic.png {{AlignmentIcon|Hero2|20px}}
Icon clue generic.png {{AlignmentIcon|Villain2|50px}}
Icon clue generic.png {{AlignmentIcon|Praetorian}}
Icon clue generic.png {{AlignmentIcon|Praetorian2}}
Icon clue generic.png {{AlignmentIcon|All}}
Icon clue generic.png {{AlignmentIcon|AllVertical|12px}}

See also

{{ArchetypeIcon}}