Difference between revisions of "Template:Color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Quest for Truth
Line 20: Line 20:
  
 
See [[Web colors]] for a list of colors.
 
See [[Web colors]] for a list of colors.
 
=== See also ===
 
 
* {{tl|Background color}}
 
* {{tl|Resize}}
 
* {{tl|LinkColor}}
 
  
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Text color templates|{{PAGENAME}}]]
 
 
[[af:Sjabloon:Kleur]]
 
[[es:Plantilla:Color]]
 
[[fr:Modèle:Coloré]]
 
[[ja:Template:Color]]
 
[[no:mal:farve]]
 
[[pt:Predefinição:Color]]
 
[[ro:Format:Color]]
 
[[ru:Шаблон:Color]]
 
[[sl:Predloga:Barva]]
 
[[uk:Шаблон:Кольоровий текст]]
 
[[zh-yue:Template:Color]]
 
 
</includeonly>
 
</includeonly>

Revision as of 20:57, 13 October 2012


This template can be used to add a span of text with a given color.

Usage

{{color|name of color or hex code of color|Text}}

For example:

{{color|red|Hello, world!}} results in Hello, world!
{{color|#00F000|Hello, world!}} results in Hello, world!

Wikitext generated:

<span style="color:{{{1|}}}">{{{2|}}}</span>

See Web colors for a list of colors.