Template:Tag: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{hideheading|}}}|true|<!--TRUE-->|<!--FALSE--><h2>Tag</h2> | {{#ifeq:{{{hideheading|}}}|true|<!--TRUE-->|<!--FALSE--><h2>[[:Category:Tag|Tag]]</h2> | ||
;This item has the following tag(s)}} | ;This item has the following tag(s)}} | ||
<p style="margin-left: 1.6em;">{{#if:{{{tag|}}}|<!--true-->{{#switch: {{{tag}}} <!-- | <p style="margin-left: 1.6em;">{{#if:{{{tag|}}}|<!--true-->{{#switch: {{{tag}}} <!-- |
Revision as of 12:41, 12 September 2018
Tag
- This item has the following tag(s)
<Information Missing>
==Usage==
The Tag template is meant to be used by items that have tag in their definitions.
{{Tag|tag=<tag?>}}
- The code above can be pasted into your page and edited.
- To add additional tags, include the template again for each tag but use
|hideheading=true
- Items marked with a "?" will display <Information Missing> if they are not filled in.
- Template conditionally adds the following categories:
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.