Difference between revisions of "Template:Icon/doc"
Jump to navigation
Jump to search
m |
m |
||
Line 5: | Line 5: | ||
| amount | | amount | ||
| image size (optional, 16px resize by default) | | image size (optional, 16px resize by default) | ||
+ | | image position (optional, use default settings) | ||
}}</pre> | }}</pre> | ||
{{icon|metal|}}{{icon|stone|}}{{icon|silver|}}{{icon|potato|}}{{icon|agave|}}{{icon|berries|}}{{icon|bmeat|}}{{icon|smeat|}}{{icon|hmeat|}}{{icon|npaste|}}{{icon|simple|}}{{icon|fine|}}{{icon|lavish|}} | {{icon|metal|}}{{icon|stone|}}{{icon|silver|}}{{icon|potato|}}{{icon|agave|}}{{icon|berries|}}{{icon|bmeat|}}{{icon|smeat|}}{{icon|hmeat|}}{{icon|npaste|}}{{icon|simple|}}{{icon|fine|}}{{icon|lavish|}} |
Revision as of 07:37, 27 February 2014
A minimalist helper template to quickly create a resource icon.
Usage
{{icon | type (metal/stone/silver/potato/agave/berries/bmeat/smeat/hmeat/...) - used for icon | amount | image size (optional, 16px resize by default) | image position (optional, use default settings) }}
Without a parameter
Using the template without any parameters will simply generate a icon, without anything other text.
Render and link
- Template will not generate a link, and will not be linkable (neither the text, nor the icon).
- However, mousing over the template will create a hover text with the full English rendering, for readability:
| class="text-right" | Metal | |
1 | class="text-right" | 1 Metal | |
5 | class="text-right" |5 Metal |