Difference between revisions of "Template:Icon"
From HomepointXI Wiki
m |
|||
| Line 195: | Line 195: | ||
| style="padding: 5px;" | <nowiki>{{Icon|jobpoint}}</nowiki> | | style="padding: 5px;" | <nowiki>{{Icon|jobpoint}}</nowiki> | ||
| style="padding: 5px;" | {{Icon|jobpoint}} | | style="padding: 5px;" | {{Icon|jobpoint}} | ||
| + | |} | ||
| + | {| style="spacing: 3px; border: 0px; text-align: center; vertical-align: middle;" | ||
| + | |- style="background: #999999;" | ||
| + | ! style="text-align: center; vertical-align: middle; color: #ffffff;" colspan="2"| Default | ||
| + | |- style="background: #dddddd;" | ||
| + | | style="padding: 5px;" | <nowiki>{{Icon}}</nowiki> | ||
| + | | style="padding: 5px;" | {{Icon}} | ||
|} | |} | ||
</noinclude><includeonly>[[Image:{{ #switch: {{lc:{{{1}}}}} | </noinclude><includeonly>[[Image:{{ #switch: {{lc:{{{1}}}}} | ||
| Line 332: | Line 339: | ||
| lg | | lg | ||
| large = {{!}}64px | | large = {{!}}64px | ||
| − | </includeonly> | + | | #default = |
| + | }}{{!}}link=]]</includeonly> | ||
Revision as of 14:14, 14 July 2021
Usage
This template is used to display various icons by passing one or two parameters.
{{Icon|<element or icon>|<type or controls>}}
- Some icons are represented by Element/Type pairs, such as crystals and spell icons; these require both parameters be used for definition.
- The rest of the icons can stand on their own with a single parameter; the second parameter can be used to set one of three standard sizes, or omitted to display the image at its native size.
Following are examples illustrating the template's use.
| Element-related Icons | |
|---|---|
| {{Icon|Light|Crystal}} | |
| {{Icon|Light|brd}} | |
| {{Icon|Light|BLM}} | |
| {{Icon|Wind|whm}} | |
| {{Icon|Fire|cor}} | |
| {{Icon|Lightning|nin}} | |
| {{Icon|Earth|blu}} | |
| {{Icon|water|ja}} | |
| {{Icon|Dark|weather}} | |
| {{Icon|light|icon}} | |
| Maneuvers | |
|---|---|
| {{Icon|fire maneuver}} | |
| Item Flags | |
|---|---|
| {{Icon|rare}} | |
| {{Icon|Ex}} | |
| {{Icon|TeMp}} | |
| {{Icon|Aug}} | |
| Guilds & Shops | |
|---|---|
| {{Icon|Alchemy|medium}} | |
| {{Icon|Bonecraft}} |
|
| {{Icon|Clothcraft|small}} | |
| {{Icon|Cooking|small}} | |
| {{Icon|Goldsmithing|small}} | |
| {{Icon|Fishing|large}} |
|
| {{Icon|Leathercraft|small}} | |
| {{Icon|Smithing|small}} | |
| {{Icon|Woodworking|small}} | |
| {{Icon|Synergy|small}} | |
| Nations & Organizations | |
|---|---|
| {{Icon|Windurst|small}} | |
| {{Icon|Bastok|medium}} | |
| {{Icon|San d'Oria|large}} | |
| {{Icon|Jeuno|Large}} | |
| {{Icon|Tenshodo}} |
|
| {{Icon|Chains of Promathia|large}} |
|
| {{Icon|Aht Urhgan|large}} | |
| {{Icon|Adoulin|medium}} | |
| {{Icon|Conquest}} | |
| Combat-related | |
|---|---|
| {{Icon|Two Hour}} | |
| {{Icon|Blue!}} | |
| {{Icon|Red!|small}} | |
| {{Icon|Grellow!}} | |
| {{Icon|Yellow!}} | |
| Skillchain Related | |
|---|---|
| {{Icon|compression sc}} | |
| {{Icon|fusion sc}} | |
| {{Icon|dark sc}} | |
| Miscellaneous | |
|---|---|
| {{Icon|Q}} | |
| {{Icon|yes}} | |
| {{Icon|No}} | |
| {{Icon|Verification}} | |
| {{Icon|Trade}} | |
| {{Icon|Key}} | |
| {{Icon|Clock}} | |
| {{Icon|Map}} | |
| {{Icon|meritpoint}} | |
| {{Icon|jobpoint}} | |
| Default | |
|---|---|
| {{Icon}} | [[Image:|link=]] |