Difference between revisions of "Template:Co"
From EVE University Wiki
m |
(Moved documentation to Template:Co/doc) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly>{{{{{|safesubst:}}}#if:{{{3|}}}|<span style="background-color:{{{2|inherit}}};color:{{{1|inherit}}};">{{{3|}}}</span>|<span style="color:{{{1|inherit}}};">{{{2|}}}</span>}}</includeonly><noinclude> | |
− | + | {{documentation}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 02:16, 26 March 2017
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to color some text.
- Parameters
- Sample
gives ...{{co|red|This text isn't yellow.}} - This text isn't yellow.
gives ...{{co||green|This text has a green background.}} - This text has a green background.
gives ...{{co|black|lightyellow|Text and background color.}} - Text and background color.
gives ...{{co|#0033CC|This text uses an hex color code.}} - This text uses an hex color code.
- References
- ^ inherit - The color used by the HTML parent element.
- ^ https://www.w3schools.com/colors/colors_names.asp [2022-05-29]
- ^ https://www.w3schools.com/colors/colors_hex.asp [2022-05-29]