Difference between revisions of "Template:Abbrlink/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Edokter
m
m (11 revisions imported)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Categories go at the end of this page and interwikis links go in Wikidata. -->
 +
{{High use| 11493 }}
 +
== Usage ==
  
== Usage ==
+
<nowiki>{{</nowiki>abbrlink|''abbr''|''expanded phrase''}}
  
<nowiki>{{</nowiki>abbrlink|''abbr''|''expanded term''}}
+
Example:
  
Example:
 
 
<pre>
 
<pre>
 
{{abbrlink|UK|United Kingdom}}
 
{{abbrlink|UK|United Kingdom}}
</pre>
+
</pre>  
Which results in:
+
 
 +
Which results in:  
 +
 
 
{{abbrlink|UK|United Kingdom}}
 
{{abbrlink|UK|United Kingdom}}
  
That is, like template {{tl|abbr}} but it also creates an article link to the expanded term.
+
That is like template {{tl|abbr}} but it also creates an article link to the expanded phrase.
  
==See also ==
+
== See also ==
  
*[[Wikipedia:Accessibility]]
+
* [[Wikipedia:Accessibility]]
*[[Template:Abbr]]
+
* [[Template:Abbr]]
*[[Template:R-phrase]]
+
* [[Template:R-phrase]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories go here and interwikis links go in Wikidata. -->
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
+
[[Category:Abbreviation templates| ]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 15:05, 16 October 2020

Usage

{{abbrlink|abbr|expanded phrase}}

Example:

{{abbrlink|UK|United Kingdom}}

Which results in:

UK

That is like template {{abbr}} but it also creates an article link to the expanded phrase.

See also