Template:ItemTag: Difference between revisions
From MENACE Official Wiki
itemtags can now be hidden |
mNo edit summary |
||
| Line 2: | Line 2: | ||
[[{{{link| {{#invoke:StringUtils|toTitleCase|{{{name}}}(Tag)}} }}}| | [[{{{link| {{#invoke:StringUtils|toTitleCase|{{{name}}}(Tag)}} }}}| | ||
<span class="item-tag"> | <span class="item-tag"> | ||
{{{name}}} | {{#invoke:StringUtils|toUpperCase|{{{name}}}}} | ||
</span>]]}}</includeonly><noinclude> | </span>]]}}</includeonly><noinclude> | ||
== Usage & preview == | == Usage & preview == | ||
{| class="wikitable" | |||
! Parameter !! Description | |||
|- | |||
| name || Name of the Tag <div style="color: #00aa00; display:inline">[You don't need to write the name in upper case – it will be converted automatically]</div> | |||
|- | |||
| ''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: | Type in this: | ||
| Line 14: | Line 26: | ||
{{ItemTag|name=EXAMPLE NAME}} | {{ItemTag|name=EXAMPLE NAME}} | ||
---- | |||
or specify a link like this: | or specify a link like this: | ||
| Line 24: | Line 36: | ||
{{ItemTag|name=EXAMPLE NAME|link=Example Name (Tag)}} | {{ItemTag|name=EXAMPLE NAME|link=Example Name (Tag)}} | ||
---- | |||
If you want to hide an ItemTag, type this: | If you want to hide an ItemTag, type this: | ||
| Line 30: | Line 42: | ||
{{ItemTag|name=EXAMPLE NAME|status=hidden}} | {{ItemTag|name=EXAMPLE NAME|status=hidden}} | ||
</pre> | </pre> | ||
{{ItemTag|name=EXAMPLE NAME|status=hidden}} | |||
Revision as of 21:31, 7 October 2025
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) |
|
Type in this:
{{ItemTag|name=EXAMPLE NAME}}
to see this:
or specify a link like this:
{{ItemTag|name=EXAMPLE NAME|link=Example Name (Tag)}}
to see this:
If you want to hide an ItemTag, type this:
{{ItemTag|name=EXAMPLE NAME|status=hidden}}


