Difference between revisions of "Template:Abbrlink/doc"
Jump to navigation
Jump to search
blackwiki>Meteor sandwich yum (using new sandbox preload code: removes sandboxes from categories and says to use Wikidata) |
blackwiki>Nnemo (Notably accessibility) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- Categories go at the | + | <!-- Categories go at the end of this page and interwikis links go in Wikidata. --> |
== Usage == | == Usage == | ||
| − | <nowiki>{{</nowiki>abbrlink|''abbr''|''expanded | + | <nowiki>{{</nowiki>abbrlink|''abbr''|''expanded phrase''}} |
| + | |||
| + | 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 | + | 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:Dabbr]] |
| + | * [[Template:R-phrase]] | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
| − | <!-- Categories go here and interwikis go in Wikidata. --> | + | |
| + | <!-- Categories go here and interwikis links go in Wikidata. --> | ||
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]] | [[Category:Wikipedia formatting and function templates|{{PAGENAME}}]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 09:39, 14 May 2014
| This is a documentation subpage for Template:Abbrlink. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{abbrlink|abbr|expanded phrase}}
Example:
{{abbrlink|UK|United Kingdom}}
Which results in:
That is like template {{abbr}} but it also creates an article link to the expanded phrase.
See also