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:Tt/doc

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Teletype (<tt>) is stylistically recommended for usage when referring to tokens, inline pieces of code, file formats, et cetera, to easily distinguish between regular wiki text and references to the game's code. This template makes the process slightly easier. It takes up to three parameters: the tagged contents, required for anything to display; the second adds mouseover text, which is completely optional and rarely needed; and the third allows you to change the color of the mouseover underline - #00C is the default - and so is all the more optional.

{{tt|[GROWDUR:500]}} → [GROWDUR:500]
{{tt|[GROWDUR:500]|There are 1008 GROWDURs per season.}} → [GROWDUR:500]
{{tt|[GROWDUR:500]|There are 1008 GROWDURs per season.|#4a8}} → [GROWDUR:500]

See also[edit]