Difference between revisions of "Template:Color/doc"
From EVE University Wiki
(Created page with "<noinclude>{{main|Template:Color}}</noinclude> ;Usage {{code|<nowiki>{{Color|color selection|text you want to color}}</nowiki>}} *color selection : basic html color names (ex....") |
m (Refactor the doc. Add dependency that I have found.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | ; Description | |
− | ; | + | : This template is used to color some text. |
− | {{ | + | ; Dependencies |
− | + | : Used by | |
+ | :: {{T|ColorSecurityRating}} | ||
− | <includeonly>[[Category: | + | ; Syntax |
+ | : {{T|Color|color|text you want to color}} | ||
+ | :: color is a CSS valid color code<ref>https://www.w3schools.com/colors/default.asp</ref> like: | ||
+ | ::: color names e.c. khaki / red / blue<ref>https://www.w3schools.com/colors/colors_names.asp</ref> | ||
+ | ::: hex codes #F0E68C / #FF0000 / #0000FF<ref>https://www.w3schools.com/colors/colors_hex.asp</ref> | ||
+ | |||
+ | ; Sample output | ||
+ | : {{code|<nowiki>{{Color|yellow|This text is yellow}}</nowiki>}} | ||
+ | :: gives... | ||
+ | :: {{Color|yellow|This text is yellow}} | ||
+ | : {{code|<nowiki>{{Color|#FFFF00|This text is just as yellow}}</nowiki>}} | ||
+ | :: gives | ||
+ | :: {{Color|#FFFF00|This text is just as yellow}} | ||
+ | |||
+ | ; References | ||
+ | {{reflist}} | ||
+ | |||
+ | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 12:27, 2 October 2021
- Description
- This template is used to color some text.
- Dependencies
- Used by
- Syntax
- {{Color|<color>|<text you want to color>}}
- Sample output
{{Color|yellow|This text is yellow}} - gives...
- This text is yellow
{{Color|#FFFF00|This text is just as yellow}} - gives
- This text is just as yellow
- References