Template:Color: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) (This will allow support for CSS color names.) |
Dat Hack3r (talk | contribs) (Rewrote the template.) |
||
Line 1: | Line 1: | ||
< | <templatestyles src="Color/styles.css" /> | ||
<span | <span class="color-box"> | ||
<span class="color-text">{{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}}|{{#tag:nowiki|{{{color|#000000}}}}}}}</span> | |||
<span class="color-fill" style="background-color: {{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}}|{{#tag:nowiki|{{{color|#000000}}}}}}};"></span> | |||
</span><noinclude> | |||
< | |||
<span style="color: | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |