Template:Auto link
This template is used on many pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Usage
To use this template, put {{auto link|target|word}} (if there is no word parameter, then the template will function in the same way as if it were the target). If the link location exists a link will be created, if not it will not. This template exists to avoid redlinks being created. If the page is created, the link will be formed.
This template also exists to allow templates to accept either plain text or wikitext for parameters, automatically linkifying the value if it is plain text, and an article exists there (see {{Infobox Australian place }}).
This template should not be used in the mainspace, as red links are good.
Examples
{{auto link|a}}
→ a{{auto link|aqrp}}
→ aqrp{{auto link|a|letter a}}
→ letter a{{auto link|aqrp|,asmd}}
→ ,asmd