Template:Abbtip/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
m (MIGUELbM moved page Template:AbbTip/doc to Template:Abbtip/doc: moved the main page)
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This template is for abbreviations, it displays text in smallcaps with a tooltip when hovered over to disambiguate the abbreviation
This template is for abbreviations, it displays text with a tooltip when hovered over to disambiguate the abbreviation


   <nowiki>{{AbbTip|Tooltip|Abbreviation}}</nowiki>
   <nowiki>{{AbbTip|Tooltip|Abbreviation}}</nowiki>
Line 7: Line 7:
{{AbbTip|Tooltip|Abbreviation}}
{{AbbTip|Tooltip|Abbreviation}}


''I don't know how to make the smallcaps optional, would appreciate some help on that''
 
----
 
 
It also has the option to render the text as small caps
 
  <nowiki>{{AbbTip|Tooltip|Abbreviation|sc}}</nowiki>
 
Renders as:
 
{{AbbTip|Tooltip|Abbreviation|sc}}
 
 
----
 
 
(not too recommended) Remove the underline with
 
  <nowiki>{{AbbTip|Tooltip|Abbreviation||noul}}</nowiki>
 
{{AbbTip|Tooltip|Abbreviation||noul}}

Latest revision as of 22:43, 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