Template:AlignmentIcon/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
(Move documentation)
 
imported>Aggelakis
m (-wip...looks complete)
 
(11 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)>}}
: Default size is 32px


{{tl|AlignmentIcon|<Alignment>|<Size (Optional)>}}
<pre><nowiki>
 
{{#switch: {{{1}}}
{|
| Hero = [[Image:Align_Status_Hero.png|{{{2|32px}}}]]
| align="right" | {{AlignmentIcon|Vilain}} || {{tl|AlignmentIcon|Vilain}} (misspelled/non-existant alignment)
| 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}}}]]
}}
</nowiki></pre>
== Examples ==
{| class="wikitable"
! Result !! Input and description
|-
|| {{AlignmentIcon|Vilain}} || {{tl|AlignmentIcon|Vilain}} (misspelled/non-existant alignment)
|-
|-
| align="right" | {{AlignmentIcon|Villain|ndsss}} || {{tl|AlignmentIcon|Villain|ndsss}} (incorrect size is ignored)
|| {{AlignmentIcon|Villain|ndsss}} || {{tl|AlignmentIcon|Villain|ndsss}} (incorrect size is ignored)
|-
|-
|}
|}
{| backround="none"
||
{| class="wikitable"
{| class="wikitable"
! Results !! Input
! Results !! Input
Line 28: Line 50:
|{{AlignmentIcon|Warshade}} || {{tl|AlignmentIcon|Warshade}}
|{{AlignmentIcon|Warshade}} || {{tl|AlignmentIcon|Warshade}}
|}
|}
 
||
 
{| class="wikitable"
! Results !! Input
|-
|{{AlignmentIcon|Hero2|20px}} || {{tl|AlignmentIcon|Hero2|20px}}
|-
|{{AlignmentIcon|Villain2|50px}} || {{tl|AlignmentIcon|Villain2|50px}}
|-
|{{AlignmentIcon|Praetorian}} || {{tl|AlignmentIcon|Praetorian}}
|-
|{{AlignmentIcon|Praetorian2}} || {{tl|AlignmentIcon|Praetorian2}}
|-
| {{AlignmentIcon|All}} || {{tl|AlignmentIcon|All}}
|-
| {{AlignmentIcon|AllVeritical|12px}} || {{tl|AlignmentIcon|AllVertical|12px}}
|}
|}


==See also==
==See also==
 
{{tl|ArchetypeIcon}}
<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}}