Template talk:Auto link
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Template:Auto link is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
This template was considered for deletion on 16 August 2011. The result of the discussion was "keep for now, but limit its use". |
Function
editI have replaced the old template with the superior version I made at Template:intlink.
The template functions as follows (logical representation): if 1 exists then (if parameter 2 specified then ([[1|2]]) else ([[1]])) else (if parameter 2 specified then (2) else (1))
The template has full normal link functionality, with or without a pipe. It simply creates the link if the page exists and does not if it does not exist. Polonium 19:47, 27 October 2006 (UTC)
- This template was designed for a different purpose, (for use in templates) but that does not matter, its still functional... (Although I am thinking of transcluding the code into Infobox Australian Place because that infobox has about 1700 transes, and the template itself transes AutoLink about 20 times, so its a bit harder on the wiki servers) --TheJosh 10:48, 6 December 2006 (UTC)
Please fix internal link on template
edit{{editprotected}}
This template should not be used in the mainspace, as [[needGod.com|red links]] are good.
should read
This template should not be used in the mainspace, as [[Wikipedia:Red link|red links]] are good.
Regards - G.A.S 16:17, 12 May 2007 (UTC)
Documentation
edit{{editprotected}}
Could an administrator change this
- Code removed to aid readability.
at Template:Auto link? Thanks. Set Sail For The Seven Seas 270° 21' 15" NET 18:01, 16 September 2010 (UTC)
- Done — Martin (MSGJ · talk) 07:23, 17 September 2010 (UTC)
Edit request on 13 August 2013
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
please change
{{#ifexist:{{{1|}}}
to
{{{{{|safesubst:}}}#ifexist:{{{1|}}}
which will allow this template to be substituted. Frietjes (talk) 20:01, 13 August 2013 (UTC)