Jump to content

Template talk:Auto link

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Function

[edit]

I 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)[reply]

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)[reply]
[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)[reply]

checkY Done. --ais523 16:27, 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)[reply]

 Done — Martin (MSGJ · talk) 07:23, 17 September 2010 (UTC)[reply]

Edit request on 13 August 2013

[edit]

please change

{{#ifexist:{{{1|}}}

to

{{{{{|safesubst:}}}#ifexist:{{{1|}}}

which will allow this template to be substituted. Frietjes (talk) 20:01, 13 August 2013 (UTC)[reply]

DoneMr. Stradivarius ♪ talk ♪ 20:33, 13 August 2013 (UTC)[reply]