Template:Fc: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 21: Line 21:
! Key Words
! Key Words
|-
|-
| {{Project:Template:Fc|magenta|magenta}}
| {{Fc|magenta|magenta}}
|-
|-
| {{Project:Template:Fc|purple|purple}}
| {{Fc|purple|purple}}
|-
|-
| {{Project:Template:Fc|blue|addition, enhancement, confirmation, blue}}
| {{Fc|blue|addition, enhancement, confirmation, blue}}
|-
|-
| {{Project:Template:Fc|green|fix, functional, relevant, green}}
| {{Fc|green|fix, functional, relevant, green}}
|-
|-
| {{Project:Template:Fc|chartreuse|chartreuse}}
| {{Fc|chartreuse|chartreuse}}
|-
|-
| {{Project:Template:Fc|yellow|issue, unknown, yellow}}
| {{Fc|yellow|issue, unknown, yellow}}
|-
|-
| {{Project:Template:Fc|salmon|instruction, ilheading{{Project:Template:Fc|highlight|<sup>1</sup>}}, salmon}}
| {{Fc|salmon|instruction, ilheading{{Fc|highlight|<sup>1</sup>}}, salmon}}
|-
|-
| {{Project:Template:Fc|orange|change, modification, orange}}
| {{Fc|orange|change, modification, orange}}
|-
|-
| {{Project:Template:Fc|red|removal, non-functional, irrelevant, warning, red}}
| {{Fc|red|removal, non-functional, irrelevant, warning, red}}
|-
|-
| {{Project:Template:Fc|highlight|important, highlight}}
| {{Fc|highlight|important, highlight}}
|-
|-
| colspan="2" | {{Project:Template:Fc|highlight|<sup>1</sup>}}{{Fs|.8em|Only use this for "inline headings," which begin a paragraph instead of being on their own line.}}
| colspan="2" | {{Fc|highlight|<sup>1</sup>}}{{Fs|.8em|Only use this for "inline headings," which begin a paragraph instead of being on their own line.}}
|}
|}


==Examples==
==Examples==
'''Code:'''
'''Code:'''
<pre>The {{Template:Fc|important|important part}} of an {{Template:Fc|instruction|instruction}} is highlighted.</pre>
<pre>The {{Fc|important|important part}} of an {{Fc|instruction|instruction}} is highlighted.</pre>
'''Result:'''
'''Result:'''
The {{Template:Fc|important|important part}} of an {{Template:Fc|instruction|instruction}} is highlighted.
The {{Fc|important|important part}} of an {{Fc|instruction|instruction}} is highlighted.


'''Code:'''
'''Code:'''
<pre>{{Template:Fc|nonsense|Bad key words}} don't affect text color.</pre>
<pre>{{Fc|nonsense|Bad key words}} don't affect text color.</pre>
'''Result:'''
'''Result:'''
{{Template:Fc|nonsense|Bad key words}} don't affect text color.
{{Fc|nonsense|Bad key words}} don't affect text color.


== See Also ==
== See Also ==

Revision as of 23:27, January 16, 2021


Purpose & Usage[edit source]

Use this template to change text color. The following key words specify the situation in which to use text colors and the respective colors used; if none of the key words are appropriate for what you are highlighting, the template accepts all CSS Legal Color Values. Bad key words result in no effect on text color, and the default text color will result.


Key Words
magenta
purple
addition, enhancement, confirmation, blue
fix, functional, relevant, green
chartreuse
issue, unknown, yellow
instruction, ilheading1, salmon
change, modification, orange
removal, non-functional, irrelevant, warning, red
important, highlight
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