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"
Jump to navigation
Jump to search
(doc) |
|||
Line 1: | Line 1: | ||
− | {{#if:{{{2|}}}|<span style="border-bottom:1px {{#if:{{{3|}}}|{{{3}}}|#0000CC}} dotted;cursor:help;" title="{{{2}}}">|}}<tt>{{{1|}}}</tt>{{#if:{{{2|}}}|</span>|}}<noinclude> | + | {{#if:{{{2|}}}|<span style="border-bottom:1px {{#if:{{{3|}}}|{{{3}}}|#0000CC}} dotted;cursor:help;" title="{{{2}}}">|}}<tt>{{{1|}}}</tt>{{#if:{{{2|}}}|</span>|}}<noinclude>{{documentation}}</noinclude> |
− |
Latest revision as of 03:10, 24 July 2013
(view - edit - history - purge) Documentation
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
- {{token}}