Template:Swatch inline: Difference between revisions

Jump to navigation Jump to search
m (Updated template name.)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span title="{{{2|{{{1|}}}}}}" style="background-color:{{{1}}}"><span>{{#if:{{{2}}}|{{{2}}}|{{{1}}}}}</span></span><noinclude>
<span title="{{{2|{{{1|}}}}}}" style="background-color:{{{1|}}}">{{#if:{{{2|}}}|{{{2}}}|{{replace|{{{1}}}|#|&#35;}}}}</span><noinclude>
 
{{documentation}}
==Usage==
Mostly for use on talk pages when discussing color.
:<nowiki>{{swatch inline|RED}}</nowiki> '''gives''' {{swatch inline|RED}}
:<nowiki>{{swatch inline| #00FF00}}</nowiki> '''gives''' {{swatch inline| #00FF00}}
:<nowiki>{{swatch inline|gold|Au}}</nowiki> '''gives''' {{swatch inline|gold|Au}}
 
RED is a color direct name and <nowiki>#00FF00</nowiki> is a triplet.
 
==See also==
*[[Template:Color sample]]
*[[Template:Swatch]]
*[[Template:Font color]]
*[[Template:Color box]]
*[[Template:Legend inline]]
*[[Template:RouteBox]]
*[[Swatch (disambiguation)|Swatch]]
*[[List of colors]]
[[category:text color templates]]
</noinclude>
</noinclude>

Latest revision as of 00:07, 13 March 2019

{{{1}}}