Template:Color/Dark: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
m (Dat Hack3r moved page Template:Main color/Dark to Template:Color/Dark: This can be used for all colors.)
m (Preventing extra newlines.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span style="display:inline-flex;border-radius:4px;border:1px solid #444;margin:0;padding:2px;background:#eee;">
<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 style="color:#{{{color}}};
{{Documentation|Template:Color/doc}}
            background:black;
            margin:0;
            border-radius:4px 0 0 4px;
            font-family:Courier,monospace;">
<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 10:33, 22 November 2024

#ffffff