Difference between revisions of "Template:Tc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
(more examples)
 
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