Template:Color: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
No edit summary
m (These curly braces are hard to keep track of.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="display:inline-flex;border-radius:4px;border:1px solid black;margin:0;padding:4px;background:#eee;">
<templatestyles src="Color/styles.css" />
<span style="color:black;
<span class="color-box">
            background:white;
<span class="color-text">{{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#tag:nowiki|{{{color|#000000}}}}}}}</span>
            margin:0;
<span class="color-fill" style="background-color: {{#if:{{{1|}}}|{{#tag:nowiki|{{{1}}}}}|{{#tag:nowiki|{{{color|#000000}}}}}}};"></span>
            border-radius:4px 0 0 4px;
</span><noinclude>
            font-family:Courier,monospace;">
{{Documentation}}
<nowiki>#</nowiki>{{{color}}}</span>
<span style="color:transparent;
            background:#{{{color}}};
            margin:0;
            border-radius:0 4px 4px 0;
            width:1.75em;"></span></span><noinclude>
<templatedata>
{
"params": {
"color": {
"description": "Put the user's main color here.",
"autovalue": "unknown"
}
},
"description": "For putting main colors in."
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 17:16, 21 November 2024

#000000