Template:Fc: Difference between revisions

From Step Mods | Change The Game
m (Z929669 moved page Project:Template Fc to Project:Template:Fc without leaving a redirect)
No edit summary
Line 1: Line 1:
<includeonly><span style="color:{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#vardefine:color|{{#switch:{{lc:{{{1|}}}}}
| magenta = #d840c8
| magenta = magenttx
| purple = #aa60d8
| purple = purpletx
| addition | enhancement | confirmation | notice | blue = #5fa0df
| addition | enhancement | confirmation | notice | blue = bluetx
| added | fix | functional | relevant | green = #40b050
| added | fix | functional | relevant | green = greentx
| chartreuse = #90b040
| chartreuse = chartrtx
| issue | unknown | yellow = #bfbc28
| issue | unknown | yellow = yellowtx
| instruction | ilheading | salmon = #d6a68e
| instruction | ilheading | salmon = salmontx
| change | merged | modification | updated | orange = #c88848
| change | merged | modification | updated | orange = orangetx
| dropped | removal | replaced | non-functional | warning | irrelevant | red = #cb6868
| dropped | removal | replaced | non-functional | warning | irrelevant | red = redtx
| important | highlight = #dddddd | #default = {{{1}}}}}">{{{2}}}</span></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]]
| important | highlight = hltxt
| #default = custom}}}}<span {{#ifeq:{{#var:color}}|custom|style="color:{{{1}}};"|class="{{#var:color}}"}}>{{{2}}}</span></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]]


==Purpose & Usage==
==Purpose & Usage==
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 [https://www.w3schools.com/cssref/css_colors_legal.asp CSS Legal Color Values]. Bad key words result in no effect on text color, and the default text color will result.
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 [https://www.w3schools.com/cssref/css_colors_legal.asp CSS Legal Color Values]. Bad key words result in no effect on text color, and the default text color will result.
{{Alert|type=Notice|text=It is highly recommended to only use colors from the table below!}}


{| class="wikitable"
{| class="wikitable"
|-
|-
! Key Words !! Color/Hex Value
! Key Words
|-
|-
| magenta || {{Fc|#d840c8|#d840c8}}
| {{Project:Template:Fc|magenta|magenta}}
|-
|-
| purple || {{Fc|#aa60d8|#aa60d8}}
| {{Project:Template:Fc|purple|purple}}
|-
|-
| addition, enhancement, confirmation, blue || {{Fc|#5fa0df|#5fa0df}}
| {{Project:Template:Fc|blue|addition, enhancement, confirmation, blue}}
|-
|-
| fix, functional, relevant, green || {{Fc|#40b050|#40b050}}
| {{Project:Template:Fc|green|fix, functional, relevant, green}}
|-
|-
| chartreuse || {{Fc|#90b040|#90b040}}
| {{Project:Template:Fc|chartreuse|chartreuse}}
|-
|-
| issue, unknown, yellow || {{Fc|#bfbc28|#bfbc28}}
| {{Project:Template:Fc|yellow|issue, unknown, yellow}}
|-
|-
| instruction, ilheading{{Fc|highlight|<sup>1</sup>, salmon}} || {{Fc|#d6a68e|#d6a68e}}
| {{Project:Template:Fc|salmon|instruction, ilheading{{Project:Template:Fc|highlight|<sup>1</sup>}}, salmon}}
|-
|-
| change, modification, orange || {{Fc|#c88848|#c88848}}
| {{Project:Template:Fc|orange|change, modification, orange}}
|-
|-
| removal, non-functional, irrelevant, warning, red || {{Fc|#cb6868|#cb6868}}
| {{Project:Template:Fc|red|removal, non-functional, irrelevant, warning, red}}
|-
|-
| important, highlight || {{Fc|#dddddd|#dddddd }}
| {{Project:Template:Fc|highlight|important, highlight}}
|-
|-
| 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.}}
| 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.}}
|}
|}


==Examples==
==Examples==
'''Code:'''
'''Code:'''
<pre>The {{Fc|important|important part}} of an {{Fc|instruction|instruction}} is highlighted.</pre>
<pre>The {{Project:Template:Fc|important|important part}} of an {{Project:Template:Fc|instruction|instruction}} is highlighted.</pre>
'''Result:'''
The {{Fc|important|important part}} of an {{Fc|instruction|instruction}} is highlighted.
 
'''Code:'''
<pre>{{Fc|unfunctional|Bad key words}} don't affect text color.</pre>
'''Result:'''
'''Result:'''
{{Fc|unfunctional|Bad key words}} don't affect text color.
The {{Project:Template:Fc|important|important part}} of an {{Project:Template:Fc|instruction|instruction}} is highlighted.


'''Code:'''
'''Code:'''
<pre>{{Fc|#ff0000|Try not to use {{Fc|#6060ff|custom}} colors,}} or results look either <big>←</big> bad or are inconsistent with the rest of the wiki.</pre>
<pre>{{Project:Template:Fc|unfunctional|Bad key words}} don't affect text color.</pre>
'''Result:'''
'''Result:'''
{{Fc|#ff0000|Try not to use {{Fc|#6060ff|custom}} colors,}} or results look either <big>←</big> bad or are inconsistent with the rest of the wiki.
{{Project:Template:Fc|unfunctional|Bad key words}} don't affect text color.


'''Code:'''
'''Code:'''
<pre>When there is {{Fc|important|no parameter specification}} the 'important'/'highlight' parameter defaults.</pre>
<pre>{{Project:Template:Fc|#ff0000|Try not to use {{Project:Template:Fc|#6060ff|custom}} colors,}} or results look either <big>←</big> bad or are inconsistent with the rest of the wiki.</pre>
'''Result:'''
'''Result:'''
When there is {{Fc|important|no parameter specification}} the 'important'/'highlight' parameter defaults.
{{Project:Template:Fc|#ff0000|Try not to use {{Project:Template:Fc|#6060ff|custom}} colors,}} or results look either <big>←</big> bad or are inconsistent with the rest of the wiki.


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

Revision as of 03:35, January 15, 2021


Purpose & Usage

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.

Info-Logo.png

NOTE

It is highly recommended to only use colors from the table below!
Key Words
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:Fc
Project:Template:FcOnly use this for "inline headings," which begin a paragraph instead of being on their own line.

Examples

Code:

The {{Project:Template:Fc|important|important part}} of an {{Project:Template:Fc|instruction|instruction}} is highlighted.

Result: The Project:Template:Fc of an Project:Template:Fc is highlighted.

Code:

{{Project:Template:Fc|unfunctional|Bad key words}} don't affect text color.

Result: Project:Template:Fc don't affect text color.

Code:

{{Project:Template:Fc|#ff0000|Try not to use {{Project:Template:Fc|#6060ff|custom}} colors,}} or results look either <big>←</big> bad or are inconsistent with the rest of the wiki.

Result: Project:Template:Fc or results look either bad or are inconsistent with the rest of the wiki.

See Also

Template:Fs
Template:Indicator