Template:Tag/Category: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:Tag/Category" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
Tag: Categorization
 
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==
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.