Template:Tag: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{{bg|}}}
<includeonly><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]]
| red | warning = red
| salmon | instruction | heading = salmon
| orange = orange
| yellow | issue = yellow
| chartr | bug = chartr
| green = green
| blue | notice = blue
| purple | dev = purple
| magenta = magent
| highlight | brighter = hl
| dimmer | dim = dim
}}
{{#switch:{{{bd|}}}
| red | warning = red
| salmon | instruction | heading = salmon
| orange = orange
| yellow | issue = yellow
| chartr | bug = chartr
| green = green
| blue | notice = blue
| purple | dev = purple
| magenta = magent
| highlight | brighter = hl
| dimmer | dim = dim
}}
{{#switch:{{{tx|}}}
| red | warning = red
| salmon | instruction | heading = salmon
| orange = orange
| yellow | issue = yellow
| chartr | bug = chartr
| green = green
| blue | notice = blue
| purple | dev = purple
| magenta = magent
| highlight | brighter = hl
| dimmer | dim = dim
}}
<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]]


== Purpose & Usage ==
== Purpose & Usage ==

Revision as of 16:45, 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 TAG some text


TAG

See Also

None