Template:Abbtip: Difference between revisions

From Linguifex
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><abbr title="{{{1|}}}">{{#ifeq:{{{3|}}}|sc|{{sc|{{{2|}}}}}|{{{2|}}}}}</abbr></includeonly><noinclude>
<includeonly><abbr title="{{{1|}}}" {{#ifeq:{{{4|}}}|noul|style="text-decoration: none;"|}}>{{#ifeq:{{{3|}}}|sc|{{sc|{{{2|}}}}}|{{{2|}}}}}</abbr></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Functionality templates]]
[[Category:Functionality templates]]
</noinclude>
</noinclude>

Latest revision as of 22:40, 2 February 2021



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