Template:ItemTag: Difference between revisions

From MENACE Official Wiki
m add more accurate colors
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
[[{{{link|Tags}}}|
[[{{{link|Tags}}}|
<span style="display: inline-block;
<span class="item-tag">
            margin: 2px 0px;
            padding: 0px 12px;
            border: 3px solid #404A31;
            background-color: #20211D;
            font-family: Noto sans, sans-serif;
            font-size: 16px;
            color: #6E7B62;
            line-height: 1.8; ">
{{{name}}}
{{{name}}}
</span>]]</includeonly><noinclude>
</span>]]</includeonly><noinclude>
Line 32: Line 24:


{{ItemTag|name=EXAMPLE NAME|link=Example Name (Tag)}}
{{ItemTag|name=EXAMPLE NAME|link=Example Name (Tag)}}
<div style="font-style: italic; font-size: 1em; color: #bb1166"> For now, the style of the ItemTag is defined in this template for convenience, but it will later be added to Common.css. </div>

Revision as of 08:07, 6 October 2025

Usage & preview

Type in this:

{{ItemTag|name=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