Icon: Difference between revisions
Project Rebearth wiki
Tag: Undo |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 17: | Line 17: | ||
|Coin=CoinIcon.png | |Coin=CoinIcon.png | ||
|Knowledge=KnowledgeIcon.png | |Knowledge=KnowledgeIcon.png | ||
|Population=PopulationIcon.png | |||
|Lore=LoreIcon.png | |||
|Resources.png | |Resources.png | ||
}}|alt=The {{{1}}} resource icon on Project Rebearth|15px|link={{{1}}}|class=iconimg]] [[{{{2|{{{1}}}}}}]]<noinclude> | |||
}}|alt=The {{{1}}} resource icon on Project Rebearth|15px|link={{{1}}}|class=iconimg]] [[{{{2|{{{1}}}}}}]]<noinclude>[[Category:Utility templates]]</noinclude> | ==Description== | ||
The {{tl|Icon}} template takes a single argument (the icon name) and creates a result like: {{Icon|Earth}}. These icons have four things: | |||
* A file to the left of the argument | |||
* An alt description for the file | |||
* A link on the file to the target page | |||
* An internal link to the argument as hypertext | |||
==Usage== | |||
The template currently supports 19 icons with [[:File:Resources.png]] as fallback: | |||
* {{Icon|Wood}} | |||
* {{Icon|Stone}} | |||
* {{Icon|Earth}} | |||
* {{Icon|Ore}} | |||
* {{Icon|Food}} | |||
* {{Icon|Grain}} | |||
* {{Icon|Milk}} | |||
* {{Icon|Wool}} | |||
* {{Icon|Flour}} | |||
* {{Icon|Drinks}} | |||
* {{Icon|Clothes}} | |||
* {{Icon|Metal}} | |||
* {{Icon|Tools}} | |||
* {{Icon|Scrap}} | |||
* {{Icon|Glass}} | |||
* {{Icon|Coin}} | |||
* {{Icon|Knowledge}} | |||
* {{Icon|Population}} | |||
* {{Icon|Lore}} | |||
[[Category:Utility templates]]</noinclude> | |||
Latest revision as of 04:35, 28 April 2026
Description
[edit]The {{Icon}} template takes a single argument (the icon name) and creates a result like:
Earth. These icons have four things:
- A file to the left of the argument
- An alt description for the file
- A link on the file to the target page
- An internal link to the argument as hypertext
Usage
[edit]The template currently supports 19 icons with File:Resources.png as fallback: