User:Pharap/Templates/Hover text: Difference between revisions

From Guild of Archivists
(Add example.)
(Add option to disable dotted line.)
Line 1: Line 1:
<includeonly><span title="{{{hovertext|{{{1|}}}}}}"style="border-bottom: 1px dotted">{{{text|{{{2|}}}}}}</span></includeonly><noinclude>Example: "<code><nowiki>{{User:Pharap/Templates/Hovertext|This is the hovertext|This is the main text}}</nowiki></code>" → {{User:Pharap/Templates/Hovertext|This is the hovertext|This is the main text}}</noinclude>
<includeonly><span title="{{{hovertext|{{{1|}}}}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom: 1px dotted"}}>{{{text|{{{2|}}}}}}</span></includeonly><noinclude>Example: "<code><nowiki>{{User:Pharap/Templates/Hovertext|This is the hovertext|This is the main text}}</nowiki></code>" → {{User:Pharap/Templates/Hovertext|This is the hovertext|This is the main text}}</noinclude>

Revision as of 10:39, 11 January 2024

Example: "{{User:Pharap/Templates/Hovertext|This is the hovertext|This is the main text}}" → This is the main text