Template:Tag: Difference between revisions

From Step Mods | Change The Game
Line 7: Line 7:


== Examples ==
== Examples ==
Default call:
Default call:<br>
'''Code:'''
'''Code:'''
<pre>some text {{Tag|text=TAG}} some text</pre>
<pre>some text {{Tag|text=TAG}} some text</pre>
Line 21: Line 21:
<pre>some text {{Tag|bg=yellow|bd=purple|tx=black|width=5|text=Longer Tag}} some text</pre>
<pre>some text {{Tag|bg=yellow|bd=purple|tx=black|width=5|text=Longer Tag}} some text</pre>
'''Result:'''
'''Result:'''
some text {{Tag|bg=yellow|bd=mpurple|tx=dim|width=5|text=Longer Tag}} some text
some text {{Tag|bg=yellow|bd=purple|tx=dim|width=5|text=Long Tag}} some text


== See Also ==
== See Also ==

Revision as of 18:07, 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

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|width=3|text=TAG}} some text

Result: some text TAG some text

Code:

some text {{Tag|bg=yellow|bd=purple|tx=black|width=5|text=Longer Tag}} some text

Result: some text Long Tag some text

See Also

None