Template:Tt: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
No edit summary
Mystery Dungeon GP>Yggdrasilmamel45
No edit summary
Line 2: Line 2:


Please note that using a quotation mark (") in the second parameter (the tool tip) will cause the template to display incorrectly. To display this character, use the  quot (i.e. write <code>&amp;quot;</code>).  
Please note that using a quotation mark (") in the second parameter (the tool tip) will cause the template to display incorrectly. To display this character, use the  quot (i.e. write <code>&amp;quot;</code>).  
===How To Use this on a page:===


<pre style="overflow:auto;">
===Usage===
Note:{{Tt|*|Text goes here}}
{{{1}}} = The text that will be shown when hovering over.
</pre>
 
<code><nowiki>{{tt|*|Text appears when hovering over.}}</nowiki></code> produces: {{tt|*|Text appears when hovering over.}}
 
 
{{{2}}} = How the section that can be hovered over, will appear on the page. "*" is a commonly used.
 
<code><nowiki>{{tt|Hello|Here is some text.}}</nowiki></code> produces: {{tt|Hello|Here is some text}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Revision as of 12:00, 25 October 2019

{{{1}}}

Please note that using a quotation mark (") in the second parameter (the tool tip) will cause the template to display incorrectly. To display this character, use the quot (i.e. write &quot;).

Usage

{{{1}}} = The text that will be shown when hovering over.

{{tt|*|Text appears when hovering over.}} produces: *


{{{2}}} = How the section that can be hovered over, will appear on the page. "*" is a commonly used.

{{tt|Hello|Here is some text.}} produces: Hello