Template:Main color: Difference between revisions

From Our World of Text Wiki
Jump to navigation Jump to search
No edit summary
(tried to fix it)
Line 1: Line 1:
<span style="display:inline-flex;border-radius:4px;border:4px solid black;margin:0 4px;padding:4px;background:#eee;">
<span style="display:inline-flex;border-radius:4px;border:4px solid black;margin:0;padding:4px;background:#eee;">
<span style="color:#{{{color}}};
<span style="color:#{{{color}}};
             background:linear-gradient(135deg,white,black);
             background:linear-gradient(135deg,white,black);
             margin:0;
             margin:0;
             border-radius:4px 0px 0px 4px;
             border-radius:4px 0 0 4px;
             font-family:Courier,monospace;">
             font-family:Courier,monospace;">
<nowiki>#{{{color}}}</nowiki></span>
<nowiki>#</nowiki>{{{color}}}</span>
<span style="color:transparent;
<span style="color:transparent;
             background:#{{{color}}};
             background:#{{{color}}};
             margin:0;
             margin:0;
             border-radius:0px 4px 4px 0px;
             border-radius:0 4px 4px 0;
             width:28px;">
             width:1.75em;">
</span>
</span>
</span>
</span>

Revision as of 10:48, 7 August 2023

#{{{color}}}

For putting main colors in.

Template parameters

ParameterDescriptionTypeStatus
colorcolor

Put the user's main color here.

Auto value
unknown
Unknownoptional