Template:Fc: Difference between revisions

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


==Purpose & Usage==
==Purpose & Usage==
This template is used to change text color.
This template is used to change text color. Deviation from this template using inline styling or other means is not recommended.
 
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:===
===Parameters:===
Line 31: Line 29:


=== Color Table ===
=== Color Table ===
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.
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.



Revision as of 20:18, June 27, 2021


Purpose & Usage

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

Parameters:

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

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

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

Template:Fs