Template:Tag: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
mNo edit summary |
||
Line 38: | Line 38: | ||
| dimmer | dim = dim | | dimmer | dim = dim | ||
| #default = }} | | #default = }} | ||
<div class="{{{bg}}}bg {{{bd}}}bd {{{tx}}}tx px-1" style="cursor:default; border-radius:2px; width:{{{width}}}rem; height:0. | <div class="{{{bg}}}bg {{{bd}}}bd {{{tx}}}tx px-1" style="cursor:default; border-radius:2px; width:{{{width}}}rem; height:0.8rem; border: 2px solid transparent; text-align:center; display:table-cell; padding:1px;">'''''{{{tx}}}'''''</div></includeonly><noinclude>__NOTOC__ [[Category:Deprecated Templates]] | ||
== Purpose & Usage == | == Purpose & Usage == |
Revision as of 16:17, September 20, 2021
Purpose & Usage
{{Tag|bg|bd|tx|width}}
Used primarily to designate a DLC required, although it may be used to simply show text with a background color/gradient.
Examples
Code:
{{Tag|bg=red|bd=yellow|tx=blue|width=2}}
Result: red yellow blue
blue
See Also
None