Template:Abbtip: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Undo revision 33457 by MIGUELbM (talk))
mNo edit summary
Line 1: Line 1:
<includeonly><abbr title="{{{1|}}}">{{#ifeq:{{{abb|}}}|yes|{{abb|{{{2|}}}}}|{{{2|}}}}}</abbr></includeonly><noinclude>
<includeonly><abbr title="{{{1|}}}">{{#ifeq:{{{sc|}}}|yes|{{sc|{{{2|}}}}}|{{{2|}}}}}</abbr></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Functionality templates]]
[[Category:Functionality templates]]
</noinclude>
</noinclude>

Revision as of 03:57, 9 May 2015



This template is for abbreviations, it displays text with a tooltip when hovered over to disambiguate the abbreviation

 {{AbbTip|Tooltip|Abbreviation}}

Renders as:

Abbreviation




It also has the option to render the text as small caps

 {{AbbTip|Tooltip|Abbreviation|sc}}

Renders as:

Abbreviation




(not too recommended) Remove the underline with

 {{AbbTip|Tooltip|Abbreviation||noul}}

Abbreviation