Template:Tag: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<h2>Tag</h2>
{{#ifeq:{{{hideheading|}}}|true|<!--TRUE-->|<!--FALSE--><h2>Tag</h2>
;This item has the following tag(s)
;This item has the following tag(s)}}
<p style="margin-left: 1.6em;">{{{tag|<Information Missing>}}}{{#if:{{{tag|}}}|<!--true-->{{#switch: {{{tag}}} | ScrapWood = <includeonly>[[Category:tag/ScrapWood]]</includeonly> | Ore  = <includeonly>[[Category:tag/Ore]]</includeonly> | OreIron = <includeonly>[[Category:tag/OreIron]]</includeonly> | Ingot = <includeonly>[[Category:tag/Ingot]]</includeonly> | IngotIron = <includeonly>[[Category:tag/IngotIron]]</includeonly> | Meat = <includeonly>[[Category:tag/Meat]]</includeonly> | Berry = <includeonly>[[Category:tag/Berry]]</includeonly> | Timber = <includeonly>[[Category:tag/Timber]]</includeonly> | ProjectileCatapult = <includeonly>[[Category:tag/ProjectileCatapult]]</includeonly> | Torch = <includeonly>[[Category:tag/Torch]]</includeonly> | Flag = <includeonly>[[Category:tag/Flag]]</includeonly> | Harvest = <includeonly>[[Category:tag/Harvest]]</includeonly> | Dish = <includeonly>[[Category:tag/Dish]]</includeonly> | Rope = <includeonly>[[Category:tag/Rope]]</includeonly> | }}|<!--false--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>
<p style="margin-left: 1.6em;">{{{tag|<Information Missing>}}}{{#if:{{{tag|}}}|<!--true-->{{#switch: {{{tag}}} | ScrapWood = <includeonly>[[Category:Tag/ScrapWood]]</includeonly> | Log  = <includeonly>[[Category:Tag/Log]]</includeonly> | Ore  = <includeonly>[[Category:Tag/Ore]]</includeonly> | OreIron = <includeonly>[[Category:Tag/OreIron]]</includeonly> | OreCopper = <includeonly>[[Category:Tag/OreCopper]]</includeonly> | OreTin = <includeonly>[[Category:Tag/OreTin]]</includeonly> | OreSilver = <includeonly>[[Category:Tag/OreSilver]]</includeonly> | OreGold = <includeonly>[[Category:Tag/OreGold]]</includeonly> | Ingot = <includeonly>[[Category:Tag/Ingot]]</includeonly> | IngotIron = <includeonly>[[Category:Tag/IngotIron]]</includeonly> | IngotCopper = <includeonly>[[Category:Tag/IngotCopper]]</includeonly> | Plow = <includeonly>[[Category:Tag/Plow]]</includeonly> | IngotTin = <includeonly>[[Category:Tag/IngotTin]]</includeonly> | IngotBronze = <includeonly>[[Category:Tag/IngotBronze]]</includeonly> | IngotSteel = <includeonly>[[Category:Tag/IngotSteel]]</includeonly> | IngotGold = <includeonly>[[Category:Tag/IngotGold]]</includeonly> | IngotSilver = <includeonly>[[Category:Tag/IngotSilver]]</includeonly> | Meat = <includeonly>[[Category:Tag/Meat]]</includeonly> | Berry = <includeonly>[[Category:Tag/Berry]]</includeonly> | Flour = <includeonly>[[Category:Tag/Flour]]</includeonly> | Timber = <includeonly>[[Category:Tag/Timber]]</includeonly> | Plank = <includeonly>[[Category:Tag/Plank]]</includeonly> | RoofTileStack = <includeonly>[[Category:Tag/RoofTileStack]]</includeonly> | HammerBuilding = <includeonly>[[Category:Tag/HammerBuilding]]</includeonly> | Schematic = <includeonly>[[Category:Tag/Schematic]]</includeonly> | ProjectileCatapult = <includeonly>[[Category:Tag/ProjectileCatapult]]</includeonly> | Torch = <includeonly>[[Category:Tag/Torch]]</includeonly> | Flag = <includeonly>[[Category:Tag/Flag]]</includeonly> | Harvest = <includeonly>[[Category:Tag/Harvest]]</includeonly> | Dish = <includeonly>[[Category:Tag/Dish]]</includeonly> | Rope = <includeonly>[[Category:Tag/Rope]]</includeonly> | Map = <includeonly>[[Category:Tag/Map]]</includeonly> | Bowl = <includeonly>[[Category:Tag/Bowl]]</includeonly> | SeedBag = <includeonly>[[Category:Tag/SeedBag]]</includeonly> | Fruit = <includeonly>[[Category:Tag/Fruit]]</includeonly> | Vegetable = <includeonly>[[Category:Tag/Vegetable]]</includeonly> | Flavoring = <includeonly>[[Category:Tag/Flavoring]]</includeonly> | }}|<!--false--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>




Line 8: Line 8:
<pre>{{Tag|tag=<tag?>}}</pre>
<pre>{{Tag|tag=<tag?>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*To add additional tags, include the template again for each tag but use <code>|hideheading=true</code>
*Items marked with a "?" will display <Information Missing> if they are not filled in.
*Items marked with a "?" will display <Information Missing> if they are not filled in.
*Template conditionally adds the following categories:
*Template conditionally adds the following categories:
:* [[:Category:Missing_information]]
:* [[:Category:Missing_information]]
:* [[:Category:tag/ScrapWood]]
:* [[:Category:tag/ScrapWood]]
:* [[:Category:Tag/Log]]
:* [[:Category:tag/Ore]]
:* [[:Category:tag/Ore]]
:* [[:Category:tag/OreIron]]
:* [[:Category:tag/OreIron]]
:* [[:Category:tag/OreCopper]]
:* [[:Category:tag/OreTin]]
:* [[:Category:tag/OreSilver]]
:* [[:Category:tag/OreGold]]
:* [[:Category:tag/Ingot]]
:* [[:Category:tag/Ingot]]
:* [[:Category:tag/IngotIron]]
:* [[:Category:tag/IngotIron]]
:* [[:Category:tag/IngotCopper]]
:* [[:Category:tag/Plow]]
:* [[:Category:tag/IngotTin]]
:* [[:Category:tag/IngotBronze]]
:* [[:Category:tag/IngotSteel]]
:* [[:Category:tag/IngotGold]]
:* [[:Category:tag/IngotSilver]]
:* [[:Category:tag/Meat]]
:* [[:Category:tag/Meat]]
:* [[:Category:tag/Berry]]
:* [[:Category:tag/Berry]]
:* [[:Category:tag/Flour]]
:* [[:Category:tag/Timber]]
:* [[:Category:tag/Timber]]
:* [[:Category:tag/Plank]]
:* [[:Category:tag/RoofTileStack]]
:* [[:Category:tag/HammerBuilding]]
:* [[:Category:tag/Schematic]]
:* [[:Category:tag/ProjectileCatapult]]
:* [[:Category:tag/ProjectileCatapult]]
:* [[:Category:tag/Torch]]
:* [[:Category:tag/Torch]]
Line 25: Line 43:
:* [[:Category:tag/Dish]]
:* [[:Category:tag/Dish]]
:* [[:Category:tag/Rope]]
:* [[:Category:tag/Rope]]
:* [[:Category:tag/Map]]
:* [[:Category:tag/Bowl]]
:* [[:Category:tag/SeedBag]]
:* [[:Category:tag/Fruit]]
:* [[:Category:tag/Vegetable]]
:* [[:Category:tag/Flavoring]]


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 11:18, 3 January 2018