Difference between revisions of "Template:Tt"
(Created page with "{{#if:{{{2|}}}|<span style="border-bottom:1px {{#if:{{{3|}}}|{{{3}}}|#0000CC}} dotted;cursor:help;" title="{{{2}}}">|}}<tt>{{{1|}}}</tt>{{#if:{{{2|}}}|</span>|}}<noinclude>{{d...") |
m (1 revision imported: Importing old wiki) |
(No difference)
|
Latest revision as of 14:50, 24 May 2018
(view - edit - history - purge) Documentation
Teletype (<tt>) is stylistically recommended for usage when referring to 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 optionally allows you to change the color of the mouseover underline (#00C is the default).
{{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]
This template is modeled off of the equivalent from the Dwarf Fortress wiki.