Template:ItemTag: Difference between revisions

From MENACE Official Wiki
mNo edit summary
improve spacing
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display: inline-block;
<span style="display: inline-block;
            margin: 2px 0px;
             padding: 0px 12px;
             padding: 0px 12px;
             border: 3px solid #45483D;
             border: 3px solid #45483D;
            border-radius: 0;
             background-color: #20231A;
             background-color: #20231A;
             font-family: Noto sans, sans-serif;
             font-family: Noto sans, sans-serif;
             font-size: 16px;
             font-size: 16px;
             color: #6E7168;
             color: #6E7168;
            /*height: auto;*/
             line-height: 1.8; ">
             line-height: 0; ">
{{{name}}}
{{{name}}}
</div>
</span></includeonly><noinclude>
</includeonly>
 
<noinclude>
== Usage & preview ==
== Usage & preview ==


Line 24: Line 20:
to see this:
to see this:


{{ItemTag|name=ACCURATE}}{{ItemTag|name=ACCURATE}}{{ItemTag|name=ACCURATE}}{{ItemTag|name=ACCURATE}}{{ItemTag|name=ACCURATE}}{{ItemTag|name=ACCURATE}}
{{ItemTag|name=ACCURATE}}
{{ItemTag|name=ACCURATE}}


<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>
<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 14:37, 4 October 2025

Usage & preview

Type in this:

{{ItemTag|name=EXAMPLE NAME}}

to see this:


ACCURATE ACCURATE ACCURATE ACCURATE ACCURATE ACCURATE

ACCURATE

For now, the style of the ItemTag is defined in this template for convenience, but it will later be added to Common.css.