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:Ct"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(testing template for temperature)
 
(add documentation)
Line 1: Line 1:
<span style="border-bottom: 1px #0000CC dotted;cursor:help;" title="{{#expr:({{{1|0}}}-10000)*5/9 round 1}} °C">{{{1|0}}}° Urist</span>
+
<span style="border-bottom: 1px #0000CC dotted;cursor:help;" title="{{#expr:({{{1|0}}}-10000)*5/9 round 1}} °C">{{{1|0}}}° Urist</span><noinclude>
 +
 
 +
This template assists in the creation of temperatures, measured in degrees Urist, by adding a hovertext which displays the temperature in degrees Celsius, rounded to the nearest one decimal point.
 +
 
 +
== Usage ==
 +
Use {{tl|ct}} to include the template, e.g.:
 +
<nowiki>Water freezes at {{ct|10000}}</nowiki>
 +
produces "Water freezes at {{ct|10000}}".

Revision as of 03:02, 7 May 2012

0° Urist

This template assists in the creation of temperatures, measured in degrees Urist, by adding a hovertext which displays the temperature in degrees Celsius, rounded to the nearest one decimal point.

Usage

Use {{ct}} to include the template, e.g.:

Water freezes at {{ct|10000}}

produces "Water freezes at 10000° Urist".