Template:Color/Dark: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) m (Dat Hack3r moved page Template:Main color/Dark to Template:Color/Dark: This can be used for all colors.) |
Dat Hack3r (talk | contribs) m (Did the same thing with {{Color}}.) |
||
Line 1: | Line 1: | ||
<span style=" | <templatestyles src="Color/styles.css" /> | ||
<span style="color:#{{{color}}}; | <span class="color-box" style="border:1px solid #444;"> | ||
<span class="color-text" style="color: {{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#tag:nowiki|{{{color|#ffffff}}}}}}};background-color: black;">{{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#tag:nowiki|{{{color|#ffffff}}}}}}}</span> | |||
<span class="color-fill" style="background-color: {{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#tag:nowiki|{{{color|#ffffff}}}}}}};"></span> | |||
</span><noinclude> | |||
{{Documentation|Template:Color/doc}} | |||
<span style="color: | |||
{ | |||
} | |||
</noinclude> | </noinclude> |
Revision as of 17:31, 21 November 2024
#ffffff
This template is a high priority for maintenance as it is original to the OWOT Wiki and used in articles. As such, this template may contain bugs and it should be a top priority of template maintainers to quickly fix any issues that arise with it. Discuss breaking changes on the talk page before implementing them. |
For putting main colors in.
Parameter | Description | Type | Status | |
---|---|---|---|---|
color | color | CSS name of color or hex code of color, e.g. 'red' or '#00F000'.
| String | optional |