Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
create |
mNo edit summary |
||
| Line 4: | Line 4: | ||
==Parameters== | ==Parameters== | ||
*first unnamed parameter | *first unnamed parameter - the color to use. This can be a named color or a hex code. | ||
*second unnamed parameter | *second unnamed parameter - optionally, it is possible to apply a different style to the text. This can be one of: <code>bold</code>. Otherwise, this is the text to color. | ||
*third unnamed parameter | *third unnamed parameter - if a style option was used, then this is the text to color. | ||
<includeonly>[[Category:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
Latest revision as of 08:54, 21 October 2025
This page contains the documentation for Template:Color. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.
This template is used to display given text in a different color. This should be used very sparingly for special cases or graphics.
Parameters
- first unnamed parameter - the color to use. This can be a named color or a hex code.
- second unnamed parameter - optionally, it is possible to apply a different style to the text. This can be one of:
bold. Otherwise, this is the text to color. - third unnamed parameter - if a style option was used, then this is the text to color.