Template:Tt/doc

From Mystcraft
Revision as of 15:49, 24 July 2015 by XCompWiz (talk | contribs) (Created page with "{{doc/start}} Teletype (<nowiki><tt></nowiki>) is stylistically recommended for usage when referring to inline pieces of code, file formats, et cetera, to easily distinguish b...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png 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 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]