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.

Template:Ct

From Dwarf Fortress Wiki
Revision as of 19:00, 12 May 2013 by Lethosor (talk | contribs) (Only show degrees U when a raw number is passed)
Jump to navigation Jump to search

0 ! !

This template assists in the display 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 °U ".

Examples

Code Product
[[Water]] freezes at {{ct|10000}}. Water freezes at 10000 °U .
{{ct|[[Water]] freezes at 10000 °U.}} Water freezes at 10000 °U.
The temperature of [[magma]] is {{ct|12000}}. The temperature of magma is 12000 °U .