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:AlignmentIcon/doc"

From Paragon Wiki Archive
Jump to: navigation, search
m (+Alignment cat)
(+wip, may use #if in the future)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 +
{{wip}}
 
==Usage==
 
==Usage==
  

Revision as of 18:19, 23 August 2010

This is a documentation subpage for Template:AlignmentIcon (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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}}