Template:Tag: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<h2>Tag</h2> ;This item has the following tags <p style="margin-left: 1.6em;">{{{tags|<Information Missing>}}}{{#if:{{{tags|}}}|<!--true-->{{#ifeq:{{{tags}}}|ScrapWood|<!--tru...")
 
mNo edit summary
Line 1: Line 1:
<h2>Tag</h2>
<h2>Tag</h2>
;This item has the following tags
;This item has the following tags
<p style="margin-left: 1.6em;">{{{tags|<Information Missing>}}}{{#if:{{{tags|}}}|<!--true-->{{#ifeq:{{{tags}}}|ScrapWood|<!--true--><includeonly>[[Category:Tags/ScrapWood]]</includeonly>}}{{#ifeq:{{{tags}}}|Ore|<!--true--><includeonly>[[Category:Tags/Ore]]</includeonly>}}{{#ifeq:{{{tags}}}|OreIron|<!--true--><includeonly>[[Category:Tags/OreIron]]</includeonly>}}{{#ifeq:{{{tags}}}|Ingot|<!--true--><includeonly>[[Category:Tags/Ingot]]</includeonly>}}{{#ifeq:{{{tags}}}|IngotIron|<!--true--><includeonly>[[Category:Tags/IngotIron]]</includeonly>}}{{#ifeq:{{{tags}}}|Meat|<!--true--><includeonly>[[Category:Tags/Meat]]</includeonly>}}{{#ifeq:{{{tags}}}|Berry|<!--true--><includeonly>[[Category:Tags/Berry]]</includeonly>}}{{#ifeq:{{{tags}}}|Timber|<!--true--><includeonly>[[Category:Tags/Timber]]</includeonly>}}{{#ifeq:{{{tags}}}|ProjectileCatapult|<!--true--><includeonly>[[Category:Tags/ProjectileCatapult]]</includeonly>}}{{#ifeq:{{{tags}}}|Torch|<!--true--><includeonly>[[Category:Tags/Torch]]</includeonly>}}{{#ifeq:{{{tags}}}|Flag|<!--true--><includeonly>[[Category:Tags/Flag]]</includeonly>}}{{#ifeq:{{{tags}}}|Harvest|<!--true--><includeonly>[[Category:Tags/Harvest]]</includeonly>}}{{#ifeq:{{{tags}}}|Dish|<!--true--><includeonly>[[Category:Tags/Dish]]</includeonly>}}{{#ifeq:{{{tags}}}|Rope|<!--true--><includeonly>[[Category:Tags/Rope]]</includeonly>}}|<!--false--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>
<p style="margin-left: 1.6em;">{{{tags|<Information Missing>}}}{{#if:{{{tags|}}}|<!--true-->{{#switch: {{{tags}}} | ScrapWood = <includeonly>[[Category:Tags/ScrapWood]]</includeonly> | Ore = <includeonly>[[Category:Tags/Ore]]</includeonly> | OreIron = <includeonly>[[Category:Tags/OreIron]]</includeonly> | Ingot = <includeonly>[[Category:Tags/Ingot]]</includeonly> | IngotIron = <includeonly>[[Category:Tags/IngotIron]]</includeonly> | Meat = <includeonly>[[Category:Tags/Meat]]</includeonly> | Berry = <includeonly>[[Category:Tags/Berry]]</includeonly> | Timber = <includeonly>[[Category:Tags/Timber]]</includeonly> | ProjectileCatapult = <includeonly>[[Category:Tags/ProjectileCatapult]]</includeonly> | Torch = <includeonly>[[Category:Tags/Torch]]</includeonly> | Flag = <includeonly>[[Category:Tags/Flag]]</includeonly> | Harvest = <includeonly>[[Category:Tags/Harvest]]</includeonly> | Dish = <includeonly>[[Category:Tags/Dish]]</includeonly> | Rope = <includeonly>[[Category:Tags/Rope]]</includeonly> | }}|<!--false--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><noinclude>
 


==Usage==
==Usage==

Revision as of 16:29, 27 July 2017

Tag

This item has the following tags

<Information Missing>


Usage

The Tag template is meant to be used by items that have tags in their definitions.

{{Tag|tags=<tags?>}}
  • The code above can be pasted into your page and edited.
  • Items marked with a "?" will display <Information Missing> if they are not filled in.
  • Template conditionally adds the following categories: