Template:ItemTag: Difference between revisions

From MENACE Official Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ifeq:{{{status|}}}| hidden |<span style="display:none"></span>|
{{#ifeq:{{{status|}}}| hidden |<span style="display:none"></span>|
[[{{{link| {{#invoke:StringUtils|toTitleCase|{{{name}}}(Tag)}}  }}}|
[[{{{link| {{#invoke:StringUtils|toTitleCase|{{{1|{{{name}}}}}}(Tag)}}  }}}|
<span class="item-tag">
<span class="item-tag">
{{#invoke:StringUtils|toUpperCase|{{{name}}}}}
{{#invoke:StringUtils|toUpperCase|{{{1|{{{name}}}}}}}}
</span>]]}}</includeonly><noinclude>
</span>]]}}</includeonly><noinclude>
== Usage & preview ==
== Usage & preview ==
Line 21: Line 21:
Type in this:
Type in this:
<pre>
<pre>
{{ItemTag|name=EXAMPLE NAME}}
{{ItemTag|EXAMPLE NAME}}
</pre>
</pre>


to see this:
to see this:
 
{{ItemTag|EXAMPLE NAME}}
{{ItemTag|name=EXAMPLE NAME}}
----
----
or specify a link like this:
or specify a link like this:

Revision as of 22:44, 4 February 2026

Usage & preview

Parameter Description
name Name of the Tag
[You don't need to write the name in upper case – it will be converted automatically]
link (optional) Link to a internal wiki page of the tag
status (optional)
  • hidden → hide the tag so it doesn't display

Type in this:

{{ItemTag|EXAMPLE NAME}}

to see this:

EXAMPLE NAME


or specify a link like this:

{{ItemTag|name=EXAMPLE NAME|link=Example Name (Tag)}}

to see this:


EXAMPLE NAME


If you want to hide an ItemTag, type this:

{{ItemTag|name=EXAMPLE NAME|status=hidden}}