Difference between revisions of "Template:Tt/doc"

From Mystcraft
Jump to: navigation, search
(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...")
 
m (1 revision imported: Importing old wiki)
(No difference)

Revision as of 15:50, 24 May 2018

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]