Template:Tag: Difference between revisions
From Step Mods | Change The Game
m (→Examples) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span class="{{{bg|blue}}}bg {{{bd|yellow}}}bd {{{tx|hl}}}tx px-1" style="cursor:default; border-radius:2px; width: | <includeonly><span class="{{{bg|blue}}}bg {{{bd|yellow}}}bd {{{tx|hl}}}tx px-1" style="cursor:default; border-radius:2px; width:auto; border: 2px solid transparent; text-align:center">'''''{{{text}}}'''''</span></includeonly><noinclude>__NOTOC__ [[Category:Deprecated Templates]] | ||
== Purpose & Usage == | == Purpose & Usage == | ||
<pre>{{Tag|bg|bd|tx | <pre>{{Tag|bg|bd|tx|text}}</pre> | ||
Used primarily to designate a DLC required, although it may be used to simply show text with a background color/gradient. | Used primarily to designate a DLC required, although it may be used to simply show text with a background color/gradient. | ||
Line 14: | Line 14: | ||
'''Code:''' | '''Code:''' | ||
<pre>some text {{Tag|bg=mred|bd=yellow|tx=hl | <pre>some text {{Tag|bg=mred|bd=yellow|tx=hl|text=TAG}} some text</pre> | ||
'''Result:''' | '''Result:''' | ||
some text {{Tag|bg=mred|bd=yellow|tx=hl | some text {{Tag|bg=mred|bd=yellow|tx=hl|text=TAG}} some text | ||
'''Code:''' | '''Code:''' | ||
<pre>some text {{Tag|bg=yellow|bd=purple|tx=black | <pre>some text {{Tag|bg=yellow|bd=purple|tx=black|text=Longer Tag}} some text</pre> | ||
'''Result:''' | '''Result:''' | ||
some text {{Tag|bg=yellow|bd=purple|tx=dim | some text {{Tag|bg=yellow|bd=purple|tx=dim|text=Long Tag}} some text | ||
== See Also == | == See Also == |
Revision as of 18:08, September 20, 2021
Purpose & Usage
{{Tag|bg|bd|tx|text}}
Used primarily to designate a DLC required, although it may be used to simply show text with a background color/gradient.
Examples
Default call:
Code:
some text {{Tag|text=TAG}} some text
Result: some text TAG some text
Code:
some text {{Tag|bg=mred|bd=yellow|tx=hl|text=TAG}} some text
Result: some text TAG some text
Code:
some text {{Tag|bg=yellow|bd=purple|tx=black|text=Longer Tag}} some text
Result: some text Long Tag some text
See Also
None