Difference between revisions of "Template:Abbrlink"

From Discworld MUD Wiki
Jump to: navigation, search
(create)
 
(no new line)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[{{{2}}}|{{abbr|{{{1}}}|{{{2}}}}}]]<noinclude>
+
<includeonly>[[{{{2}}}|{{abbr|{{{1}}}|{{{2}}}}}]]</includeonly><noinclude>[[Category:Templates]]{{Documentation}}</noinclude>
{{Documentation}}
+
</noinclude>
+

Latest revision as of 15:11, 22 December 2011

[edit]

Documentation
 

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

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.