Difference between revisions of "Template:Tc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (avoid dyslexia)
(more examples)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="color:{{{1|#000}}}">{{{2|}}}</span><noinclude>
+
<{{{tag|span}}} style="color:{{{1|#000}}}">{{{2|{{{1|}}}}}}</{{{tag|span}}}><noinclude>
 
:''If you want to use DF raw colors (like 3:0:1), see [[:Template:fgcolor]]''
 
:''If you want to use DF raw colors (like 3:0:1), see [[:Template:fgcolor]]''
 
:''For the temperature shorthand, see [[:Template:ct]]
 
:''For the temperature shorthand, see [[:Template:ct]]
Line 7: Line 7:
 
<pre>{{tc|red|Red Text}}</pre>
 
<pre>{{tc|red|Red Text}}</pre>
 
{{tc|red|Red Text}}
 
{{tc|red|Red Text}}
 +
 +
<pre>{{tc|#cc9900}}</pre>
 +
{{tc|#cc9900}}
 +
 +
<pre>{{tc|blue|Italic text|tag=em}}</pre>
 +
{{tc|blue|Italic text|tag=em}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:07, 2 September 2013

If you want to use DF raw colors (like 3:0:1), see Template:fgcolor
For the temperature shorthand, see Template:ct

Shorthand for specifying a text color

Example:

{{tc|red|Red Text}}

Red Text

{{tc|#cc9900}}

#cc9900

{{tc|blue|Italic text|tag=em}}

Italic text