Difference between revisions of "Template:Abbrl"

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

Revision as of 07:17, 7 August 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