Difference between revisions of "Template:Abbrlink/doc"

From Discworld MUD Wiki
Jump to: navigation, search
m (Protected "Template:Abbrlink/doc": Autoprotecting high volume page ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
(remove broken offwiki links)
 
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.
+
{{tl|abbrlink}} is an '''abbreviation''' template. It works similarly to the [[HTML]] &lt;abbr> or &lt;acronym> tags but also wikilinks to the tooltip contents.
  
 
== Usage ==
 
== Usage ==

Latest revision as of 17:54, 25 July 2012

 

{{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.