Template:Color: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
Dat Hack3r (talk | contribs)
Rewrote the template.
Dat Hack3r (talk | contribs)
m These curly braces are hard to keep track of.
Line 1: Line 1:
<templatestyles src="Color/styles.css" />
<templatestyles src="Color/styles.css" />
<span class="color-box">
<span class="color-box">
<span class="color-text">{{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}}|{{#tag:nowiki|{{{color|#000000}}}}}}}</span>
<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 class="color-fill" style="background-color: {{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#tag:nowiki|{{{color|#000000}}}}}}};"></span>
</span><noinclude>
</span><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 18:16, 21 November 2024

#000000