Template:Color/Dark: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) m (Did the same thing with {{Color}}.) |
Dat Hack3r (talk | contribs) m (Preventing extra newlines.) |
||
Line 1: | Line 1: | ||
<templatestyles src="Color/styles.css" /> | <templatestyles src="Color/styles.css" /><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> | ||
<span class="color-box" style="border:1px solid #444;"> | |||
</span><noinclude> | |||
{{Documentation|Template:Color/doc}} | {{Documentation|Template:Color/doc}} | ||
</noinclude> | </noinclude> |
Revision as of 10:33, 22 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 |