Template:Tag: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 7: Line 7:


== Examples ==
== Examples ==
Default call:<br>
===Default Call===
'''Code:'''
'''Code:'''
<pre>some text {{Tag|text=TAG}} some text</pre>
<pre>some text {{Tag|text=TAG}} some text</pre>

Revision as of 18:14, September 20, 2021


Purpose & Usage

Create tags to use as indicators where appropriate (DO NOT overuse this!). This template makes use of custom CSS classes to display theme-friendly colors. Reference the Site Color Pallet for CSS classes.

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

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