Template:Hovertip: Difference between revisions
From Vintage Story Wiki
VeryGoodDog (talk | contribs) m (example) |
(removed excessive braces and gave a longer example) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><abbr title="{{{2}}}">{{{1}}}</abbr></includeonly><noinclude> | ||
<abbr title="{{{2}}}">{{{1}}}</abbr> | |||
</includeonly> | |||
<noinclude> | |||
Adds a hover tool tip, an <code><nowiki><abbr></nowiki></code> element. It takes two unnamed parameters, the normal display text then the hover text. Try not to use this directly. | Adds a hover tool tip, an <code><nowiki><abbr></nowiki></code> element. It takes two unnamed parameters, the normal display text then the hover text. Try not to use this directly. | ||
<code><nowiki>{{Hovertip| | <code><nowiki>{{Hovertip| one | 1 }}</nowiki></code> becomes {{Hovertip| one | 1 }}. | ||
</noinclude> | </noinclude> |
Latest revision as of 23:31, 18 January 2024
Adds a hover tool tip, an <abbr>
element. It takes two unnamed parameters, the normal display text then the hover text. Try not to use this directly.
{{Hovertip| one | 1 }}
becomes one .