Difference between revisions of "Template:Tt/doc"
From Mystcraft
m (1 revision imported: Importing old wiki) |
|||
Line 1: | Line 1: | ||
− | + | Teletype (<nowiki><tt></nowiki>) 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). | |
− | Teletype (<nowiki><tt></nowiki>) 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 | ||
{{tl|tt|[GROWDUR:500]}} → {{tt|[GROWDUR:500]}}<br/> | {{tl|tt|[GROWDUR:500]}} → {{tt|[GROWDUR:500]}}<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.}} → {{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}} | ||
− | |||
<includeonly>[[Category:Inline formatting templates]]</includeonly> | <includeonly>[[Category:Inline formatting templates]]</includeonly> |
Latest revision as of 14:43, 25 May 2018
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]