Actions

Template

Icon: Difference between revisions

Project Rebearth wiki

No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 16: Line 16:
|Glass=GlassIcon.png
|Glass=GlassIcon.png
|Coin=CoinIcon.png
|Coin=CoinIcon.png
|Knowledge=KnowledgeIcon.png
|Population=PopulationIcon.png
|Lore=LoreIcon.png
|Resources.png
|Resources.png
}}|alt=The {{{1}}} resource icon on Project Rebearth|17px|link={{{1}}}]] [[{{{2|{{{1}}}}}}]]<noinclude>[[Category:Utility templates]]</noinclude>
}}|alt=The {{{1}}} resource icon on Project Rebearth|15px|link={{{1}}}|class=iconimg]] [[{{{2|{{{1}}}}}}]]<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

The {{{1}}} resource icon on Project Rebearth [[{{{1}}}]]

Description

[edit]

The {{Icon}} template takes a single argument (the icon name) and creates a result like: The Earth resource icon on Project Rebearth 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: