Template:Tag/Category: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<h2>Tag Definition</h2> ;Display Name <p style="margin-left: 1.6em;">{{{displayname|<Information Missing>}}}{{#if:{{{displayname|}}}||<includeonly>Category:Missing_informati...")
 
mNo edit summary
Tag: Categorization
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h2>Tag Definition</h2>
<h2>Tag Definition</h2>
;Display Name
;Display Name
<p style="margin-left: 1.6em;">{{{displayname|<Information Missing>}}}{{#if:{{{displayname|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>{{#if:{{{description|}}}|<!--TRUE-->;Description<br/><p style="margin-left: 1.6em;">{{{description}}}</p>}}<includeonly>[[Category:Tags]]</includeonly><noinclude>
<p style="margin-left: 1.6em;">{{{displayname|<Information Missing>}}}{{#if:{{{displayname|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>{{#if:{{{description|}}}|<!--TRUE-->'''Description'''<br/><p style="margin-left: 1.6em;">{{{description}}}</p>}}<includeonly>[[Category:Tag]]</includeonly><noinclude>


==Usage==
==Usage==
The Tag Category template is meant to be used by category articles that list tags. The DisplayName and Description are found in ItemTags.sbc
The Tag Category template is meant to be used by category articles that list tags. The DisplayName and Description are found in ItemTags.sbc
<pre>{{Consumable_Fuel
<pre>{{Tag/Category
|displayname=<DisplayName?>
|displayname=<DisplayName?>
|description=<Description>
|description=<Description>
Line 11: Line 11:
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
*Any of the attributes can be left out entirely and they will not be displayed. Items marked with a "?" will display <Information Missing> if they are not filled in.
*Any of the attributes can be left out entirely and they will not be displayed. Items marked with a "?" will display <Information Missing> if they are not filled in.
*Template adds [[:Category:Tags]]. [[:Category:Missing_information]] is added conditionally.
*Template adds [[:Category:Tag]]. [[:Category:Missing_information]] is added conditionally.
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 10:46, 3 January 2018

Tag Definition

Display Name

<Information Missing>

Usage

The Tag Category template is meant to be used by category articles that list tags. The DisplayName and Description are found in ItemTags.sbc

{{Tag/Category
|displayname=<DisplayName?>
|description=<Description>
}}
  • The code above can be pasted into your page and edited.
  • Any of the attributes can be left out entirely and they will not be displayed. Items marked with a "?" will display <Information Missing> if they are not filled in.
  • Template adds Category:Tag. Category:Missing_information is added conditionally.