Template:Fc

From Step Mods | Change The Game
Revision as of 18:06, June 28, 2021 by Z929669 (talk | contribs)

Purpose & Usage[edit source]

This template is used to change text color. Deviation from this template using inline styling or other means is not recommended.

Parameters:[edit source]

Template: {{Fc|keyword|text=}}
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


Color Table[edit source]

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.

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:

{{Fc|instruction|The {{Fc|important|important part}} of an 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