Template:Fc: Difference between revisions
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) No edit summary |
||
Line 29: | Line 29: | ||
: '''How to use:''' <code>text=BlahBlahBlah</code> | : '''How to use:''' <code>text=BlahBlahBlah</code> | ||
=== Color Table === | |||
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. | ||
Line 74: | Line 75: | ||
== See Also == | == See Also == | ||
[[:Template:Fs | [[:Template:Fs]] | ||
</noinclude> | </noinclude> |
Revision as of 20:06, June 27, 2021
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]
- Template:
{{fc|keyword|text=}}
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
Color Table[edit source]
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]