Template:Fc

From Step Mods | Change The Game
Revision as of 19:42, June 27, 2021 by TechAngel85 (talk | contribs) (→‎Purpose & Usage: Added parameters and instructions on use. Fixed up the wording.)


Purpose & Usage[edit source]

This templated is used to change text color.

Only the colors listed below are available for use. The reason the colors are restricted is because the Wiki supports themes; thus, the available colors have been carefully selected to work with all available themes. Deviation from this template using inline styling or other means is not recommended.

Parameters:[edit source]

Required[edit source]

keyword
This is the keyword used to control the color of the text. The available keywords are in the table below.
How to use: notice
text=
This is the text that displays.
How to use: text=BlahBlahBlah

The following keywords will produce their respective colors. At least one keyword is provided beyond the "color" keyword. These additional keywords help to specify the situations in which their respective colors are used. Bad keywords will result in no effect, thus, the parent text color will display.

Key Words
removal, non-functional, irrelevant, warning, red
instruction, ilheading1, salmon, notice
change, modification, orange
issue, unknown, yellow
chartreuse
fix, functional, relevant, green
addition, enhancement, confirmation, blue
purple
magenta
important, highlight
dimmer
1Only use this for "inline headings," which begin a paragraph instead of being on their own line.

Examples[edit source]

Code:

The {{fc|important|important part}} of an {{fc|instruction|instruction}} is highlighted.

Result: The important part of an instruction is highlighted.


Code:

{{fc|nonsense|Bad key words}} don't affect text color.

Result: Bad key words don't affect text color.

See Also[edit source]

Template:Fs
Template:Indicator