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
(Usage)
m (-wip...looks complete)
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
==Usage==
 
==Usage==
 
 
; {{tl|AlignmentIcon|<Alignment>|<Size (Optional)>}}
 
; {{tl|AlignmentIcon|<Alignment>|<Size (Optional)>}}
 
: Default size is 32px
 
: Default size is 32px
  
 
<pre><nowiki>
 
<pre><nowiki>
 +
{{#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 20: Line 20:
 
| 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}}}]]
 
| 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}}}]]
 +
}}
 
</nowiki></pre>
 
</nowiki></pre>
 
== Examples ==
 
== Examples ==
Line 30: Line 31:
 
|-
 
|-
 
|}
 
|}
{|
+
{| backround="none"
 
||
 
||
 
{| class="wikitable"
 
{| class="wikitable"
Line 71: Line 72:
 
<includeonly><!--
 
<includeonly><!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Userbox Templates]]
+
[[Category:Alignment Templates]]
 
</includeonly>
 
</includeonly>

Latest revision as of 19:27, 25 January 2011

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