Template:Hovertip: Difference between revisions

From Vintage Story Wiki
(Created page with "<includeonly> <abbr title="{{{2}}}">{{{1}}}</abbr> </includeonly> <noinclude> Adds a hover tool tip, an <code><nowiki><abbr></nowiki></code> element. It takes two unnamed para...")
 
m (example)
Line 4: Line 4:
<noinclude>
<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.
{{Hovertip|Text|hover}}
 
<code><nowiki>{{Hovertip| {{{1}}} | {{{2}}} }}</nowiki></code> becomes {{Hovertip| {{{1}}} | {{{2}}} }}
</noinclude>
</noinclude>

Revision as of 15:10, 3 March 2020


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| {{{1}}} | {{{2}}} }} becomes {{{1}}}