Difference between revisions of "Template:Abbrl"

From Discworld MUD Wiki
Jump to: navigation, search
(If there is a 3rd variable use that as link)
m (Protected "Template:Abbrl": protect high volume template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[{{#if:{{{3|}}}|{{{3}}}|{{{1|}}}}}|{{abbr|{{{1}}}|{{{2|}}}}}]]<noinclude>
+
<includeonly>[[{{#if:{{{3|}}}|{{{3}}}|{{{1|}}}}}|{{abbr|{{{1}}}|{{{2|}}}}}]]</includeonly><noinclude>[[Category:Templates]]{{Documentation}}</noinclude>
{{Documentation}}
+
</noinclude>
+

Latest revision as of 20:38, 29 May 2011

[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