Template:Color/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>Template doc page transcluded from {{SUBJECTPAGENAME}}/doc</includeonly><noinclude>Documentation for Template:Tweet</br></br></noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> == Useage == To be used to color text. <pre>{{color|1|2}}</pre> <pre>{{color|color to change|text you are coloring}}</pre> == Parameters == {| class="wikitable" {{!}}- ! Parameter || Description || Type|| Status {{!}}- {{!}} 1 {{!!}} Desired color, either a [http...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>Template doc page transcluded from {{SUBJECTPAGENAME}}/doc</includeonly><noinclude>Documentation for [[Template: | <includeonly>Template doc page transcluded from {{SUBJECTPAGENAME}}/doc</includeonly><noinclude>Documentation for [[Template:Color]]</br></br></noinclude> | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
Revision as of 06:41, 19 March 2024
Documentation for Template:Color
Useage
To be used to color text.
{{color|1|2}}
{{color|color to change|text you are coloring}}
Parameters
Parameter | Description | Type | Status |
---|---|---|---|
1 | Desired color, either a color name or Hex code. | content | required |
2 | Text that is being colored. | content | required |
Examples
Inputting the following:
- {{color|Blue|This text is blue!}}
Will result in the following:
- {{{4}}}
Alternatively, a hex code for a non-html color can be used in order to specify a specific color. For example:
- {{color|#abcdef|This is a random color!}}
Will result in the following:
- {{{4}}}
And, it can be used in close conjunction for rapid color changes:
- {{color|red|Red}} and {{color|orange|Orange}}
Which will result in the following:
- {{{4}}} and {{{4}}}