Template:Tt: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "templates" to "Templates") |
m (Text replacement - "{{tt|" to "{{Tt|") |
||
Line 6: | Line 6: | ||
{{{1}}} = The text that will be shown when hovering over. | {{{1}}} = The text that will be shown when hovering over. | ||
<code><nowiki>{{ | <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. | {{{2}}} = How the section that can be hovered over, will appear on the page. "*" is a commonly used. | ||
<code><nowiki>{{ | <code><nowiki>{{Tt|Hello|Here is some text.}}</nowiki></code> produces: {{Tt|Hello|Here is some text}} | ||
{{Licensed Content (Bulbapedia)}} | {{Licensed Content (Bulbapedia)}} | ||
[[Category:Formatting Templates]] | [[Category:Formatting Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:39, 4 March 2023
{{{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 "
).
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
![]() |
This page uses CC BY-NC-SA 2.5-licensed content from Bulbapedia. |
---|