Difference between revisions of "Template:AI"
From Paragon Wiki Archive
m |
|||
Line 1: | Line 1: | ||
− | + | [[File:CreateSymbol {{#switch:{{lc:{{{1|hero}}}}} | |
|her | |her | ||
|hero=Hero | |hero=Hero | ||
Line 25: | Line 25: | ||
|small=22 | |small=22 | ||
|tiny=14 | |tiny=14 | ||
− | |#default={{{2|64}}}}}px]] | + | |#default={{{2|64}}}}}px]]<noinclude>{{documentation}}</noinclude> |
Latest revision as of 18:56, 24 December 2011
[edit] [ ] Documentation
Usage
This template displays the icon for an alignment. (Thus, "AI" stands for "Alignment Icon".)
The template accepts two parameters as thus:
{{ai|alignment|size}}
- alignment
- This parameter should be the alignment whose icon should be displayed. Valid options for this parameter are:
- If invalid input is provided, the Hero icon will be used.
- size
- This parameter specifies how big to make the icon. It can be a keyword or a size. Valid keywords are:
- huge (64 pixels)
- lrg, large (42 pixels)
- med, medium (28 pixels)
- sm, small (22 pixels)
- tiny (14 pixels)
- If a size is passed, it should just be a number. Do not include "px". If you pass something other than a keyword or number, you'll receive an error. If you omit the parameter, it will default to huge (64 pixels).
This template is entirely case insensitive. That is, all of the following are equivalent and perfectly valid:
{{ai|hero|huge}} {{AI|HERO|HUGE}} {{Ai|Hero|Huge}} {{aI|hErO|hUgE}}
For consistency and sanity's sake, please call the template as either "ai" or "AI" (all lower or all upper) and please call parameters either as all lowercase or as title case.
Examples
See also