Difference between revisions of "Template:Abbrl"

From Discworld MUD Wiki
Jump to: navigation, search
m (Fixed line break)
m (removing line break)
Line 1: Line 1:
<includeonly>[[{{#if:{{{3|}}}|{{{3}}}|{{{1|}}}}}|{{abbr|{{{1}}}|{{{2|}}}}}]]</includeonly>
+
<includeonly>[[{{#if:{{{3|}}}|{{{3}}}|{{{1|}}}}}|{{abbr|{{{1}}}|{{{2|}}}}}]]</includeonly><noinclude>[[Category:Templates]]{{Documentation}}</noinclude>
<noinclude>[[Category:Templates]]{{Documentation}}</noinclude>
+

Revision as of 13:37, 19 September 2010

[edit]

Documentation
 

{{abbrl}} is an abbreviation template. It works similarly to the HTML <abbr> or <acronym> tags but also wikilinks to the shown text.

Usage

{{abbrl|abbr|expanded term}}

Example:

{{abbrl|Ankh-Morpork|Ankh-Morpork, Ankh-Morpork, the city so good they called it Ankh-Morpork. }}

Which results in: Ankh-Morpork

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

See also