v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

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