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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(+)
(+{{token}})
 
Line 4: Line 4:
 
{{tl|tt|[GROWDUR:500]|There are 1008 GROWDURs per season.}} → {{tt|[GROWDUR:500]|There are 1008 GROWDURs per season.}}<br/>
 
{{tl|tt|[GROWDUR:500]|There are 1008 GROWDURs per season.}} → {{tt|[GROWDUR:500]|There are 1008 GROWDURs per season.}}<br/>
 
{{tl|tt|[GROWDUR:500]|There are 1008 GROWDURs per season.|#4a8}} → {{tt|[GROWDUR:500]|There are 1008 GROWDURs per season.|#4a8}}
 
{{tl|tt|[GROWDUR:500]|There are 1008 GROWDURs per season.|#4a8}} → {{tt|[GROWDUR:500]|There are 1008 GROWDURs per season.|#4a8}}
 +
 +
== See also ==
 +
* {{tl|token}}
  
 
<includeonly>[[Category:Inline formatting templates]]</includeonly>
 
<includeonly>[[Category:Inline formatting templates]]</includeonly>
 
<noinclude>[[Category:Template Documentation]]</noinclude>
 
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 18:12, 24 June 2014

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]