Template:Tag: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 11: Line 11:
| highlight | brighter = hl
| highlight | brighter = hl
| dimmer | dim = dim
| dimmer | dim = dim
| #default = }}
}}
{{#switch:{{{bd|}}}
{{#switch:{{{bd|}}}
| red | warning = red
| red | warning = red
Line 24: Line 24:
| highlight | brighter = hl
| highlight | brighter = hl
| dimmer | dim = dim
| dimmer | dim = dim
| #default = }}
}}
{{#switch:{{{tx|}}}
{{#switch:{{{tx|}}}
| red | warning = red
| red | warning = red
Line 37: Line 37:
| highlight | brighter = hl
| highlight | brighter = hl
| dimmer | dim = dim
| dimmer | dim = dim
| #default = }}
}}
<span class="{{{bg}}}bg {{{bd}}}bd {{{tx}}}tx px-1" style="cursor:default; border-radius:2px; width:{{{width}}}rem; border: 2px solid transparent; text-align:center">'''''{{{text}}}'''''</span></includeonly><noinclude>__NOTOC__ [[Category:Deprecated Templates]]
<span class="{{{bg}}}bg {{{bd}}}bd {{{tx}}}tx px-1" style="cursor:default; border-radius:2px; width:{{{width}}}rem; border: 2px solid transparent; text-align:center">'''''{{{text}}}'''''</span></includeonly><noinclude>__NOTOC__ [[Category:Deprecated Templates]]



Revision as of 16:38, September 20, 2021


Purpose & Usage

{{Tag|bg|bd|tx|width|text}}

Used primarily to designate a DLC required, although it may be used to simply show text with a background color/gradient.

Examples

Code:

some text {{Tag|bg=red|bd=yellow|tx=hl|width=3|text=TAG}} some text

Result: some text red yellow

TAG some text

See Also

None