Template:CustomTag
From Step Mods | Change The Game
Purpose & Usage
Use this template to create a custom tag anywhere within a page's text. The tag is automatically formatted based on the parameters passed:
Parameters
- color
- Sets the font color for the tag. Accepts all valid CSS values for the color property, as well as, predefined keywords (see chart below). Invalid keywords or skipping this parameter will result in the default text color of the current line.
- size
- Sets the font size for the tag. Accepts all valid CSS values for the font-size property. Values for larger, normal, and smaller are customized. Invalid keywords or skipping this parameter will result in the text size equal to that of the current line.
- tag
- Text for the tag. Be aware of the Reserved keywords below. These are reserved for Step's use and will result in preformatted text.
The following keywords specify predefined colors/formats.
Keywords | Reserved! |
---|---|
blue | |
green | added |
red | dropped, replaced |
yellow | |
orange | merged, moved, updated |
salmon | |
highlight |
The highlight keyword simply makes the text slightly brighter.
Examples
- Code:
XyzLocation {{CustomTag|color=green|size=larger|tag=Completed}}
- Result:
- XyzLocation Completed
Step Reserved
Code:
{{CustomTag|color=added|tag=added}} {{CustomTag|color=dropped|tag=dropped}} {{CustomTag|color=replaced|tag=replaced}} {{CustomTag|color=moved|tag=moved}} {{CustomTag|color=updated|tag=updated}}
Result:
Added
Dropped
Replaced by
Moved to
Updated
Related Templates
None