Difference between revisions of "Template:Abbrlink/doc"

From Discworld MUD Wiki
Jump to: navigation, search
(adjust see also)
(refer to template in doc)
Line 3: Line 3:
  
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
{{tl|abbrlink}} is an '''abbreviation''' template. It works similarly to the [[HTML]] [[HTML element#General phrase elements|&lt;abbr>]] or [[HTML element#General phrase elements|&lt;acronym>]] tags but also wikilinks to the tooltip contents.
  
 
== Usage ==
 
== Usage ==

Revision as of 22:58, 12 March 2010

 

{{abbrlink}} is an abbreviation template. It works similarly to the HTML <abbr> or <acronym> tags but also wikilinks to the tooltip contents.

Usage

{{abbrlink|abbr|expanded term}}

Example:

{{abbrlink|AM|Ankh-Morpork}}

Which results in:  AM Ankh-Morpork 

That is, like template {{abbr}} but it also creates an article link to the expanded term.

See also

  • Template:Abbr - shows the expanded name as a tooltip when hovering over it.
  • Template:Abbrl - like Abbr but also wikilinks to the abbreviated name.