• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Auto link

  • Template
  • Talk
  • Language
  • Watch
  • View source
(Redirected from Template:Autolink)
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 85,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing 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
The above documentation is transcluded from Template:Auto link/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Auto_link&oldid=579822026"
Last edited on 2 November 2013, at 02:46

Languages

    • Acèh
    • Afrikaans
    • العربية
    • अवधी
    • Azərbaycanca
    • تۆرکجه
    • Basa Bali
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • Башҡортса
    • Беларуская
    • भोजपुरी
    • Български
    • Bosanski
    • Català
    • Чӑвашла
    • Ελληνικά
    • Эрзянь
    • فارسی
    • Føroyskt
    • Français
    • Galego
    • ГӀалгӀай
    • ગુજરાતી
    • 한국어
    • Հայերեն
    • Ilokano
    • Bahasa Indonesia
    • Jawa
    • Latina
    • Lietuvių
    • मैथिली
    • Македонски
    • मराठी
    • مصرى
    • Bahasa Melayu
    • ꯃꯤꯇꯩ ꯂꯣꯟ
    • Монгол
    • မြန်မာဘာသာ
    • नेपाली
    • 日本語
    • Нохчийн
    • Português
    • Română
    • Русский
    • Саха тыла
    • संस्कृतम्
    • ᱥᱟᱱᱛᱟᱲᱤ
    • سرائیکی
    • Scots
    • Shqip
    • සිංහල
    • Simple English
    • سنڌي
    • Slovenščina
    • کوردی
    • Sunda
    • தமிழ்
    • တႆး
    • ไทย
    • Тоҷикӣ
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • Yorùbá
    • 粵語
    • 中文
    • Kadazandusun
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 2 November 2013, at 02:46 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop