Template:TownshipIcon: Difference between revisions
From Melvor Idle
m (Include additional stats for icon type determination) |
(Updated for v1.3) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{Icon|type={{#switch:{{{img|{{{1}}}}}} | <includeonly><onlyinclude>{{Icon|type={{#switch:{{{img|{{{1}}}}}} | ||
<!--Seasons--> | <!--Seasons--> | ||
|Spring|Summer|Fall|Winter|Nightfall|Solar Eclipse=township | |Spring|Summer|Fall|Winter|Nightfall|Solar Eclipse|Lemon Season|Eternal Darkness=township | ||
<!--Biomes--> | <!--Biomes--> | ||
|Grasslands|Forest|Mountains|Water|Swamp|Valley|Arid Plains|Jungle|Desert|Snowlands=biome | |Grasslands|Forest|Mountains|Water|Swamp|Valley|Arid Plains|Jungle|Desert|Snowlands|Abyssal Plains|Sulfuric Wastelands|Obsidian Cliffs|Ethereal Voids=biome | ||
<!--Stats--> | <!--Stats--> | ||
|Town|Statistics|Population|Storage|Happiness|Education|Health|Worship=township | |Town|Statistics|Population|Storage|Happiness|Education|Health|Worship|Fortification|Soul Storage|=township | ||
<!--Resources--> | <!--Resources--> | ||
|Food|Wood|Planks|Stone|Bar|Ore|Coal|Rune Essence|Herbs|Potions|Leather|Clothing=resource | |Food|Wood|Planks|Stone|Bar|Ore|Coal|Rune Essence|Herbs|Potions|Leather|Clothing|Obsidian|Runestone|Voidfire Ash|Reinforced Planks|Armour & Weaponry|Abyssal Stone=resource | ||
<!--Assume everything else is a building--> | <!--Assume everything else is a building--> | ||
|#default=building | |#default=building | ||
}}|{{{1|}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}|section={{{section|}}}}}</onlyinclude></includeonly> | }}|{{{1|}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}|section={{{section|}}}}}</onlyinclude></includeonly><noinclude>{{/doc}}</noinclude> |
Latest revision as of 06:39, 19 June 2024
A template to link to all various Township icons. Supports:
- Buildings:
{{TownshipIcon|Orchard}}
becomesError creating thumbnail: File missingOrchard - Seasons:
{{TownshipIcon|Winter}}
becomes Winter - Biomes:
{{TownshipIcon|Grasslands}}
becomes Grasslands - Stats:
{{TownshipIcon|Storage}}
becomesError creating thumbnail: File missingStorage - Resources:
{{TownshipIcon|Potions}}
becomesError creating thumbnail: File missingPotions
For a complete list of options, please refer to Template:Icon.