Template:Plain link/doc

This template creates a local or interwiki link (such as a link to the history of a page) without having the external link icon following the link. This can be…

Template:Plain link/doc

This template creates a local or interwiki link (such as a link to the history of a page) without having the external link icon following the link. This can be used, for example, when internal or interwiki links appear as external links. See Help:URL § URLs on other Wikimedia projects for more information.

Notes

You can use the {{fullurl}} magic word to generate URLs to Wikipedia pages.

This template is not suitable for genuinely external links, since it suppresses the external link icon (external link icon); for external links, use {{URL}}

Examples

  • No link text:
    {{Plain link|url=https://www.wikipedia.org}}[1]
  • Link text provided with space:
    {{Plain link|https://www.wikipedia.org Wikipedia}}Wikipedia
  • Link text provided as separate parameter:
    {{Plain link|https://www.wikipedia.org | Wikipedia}}Wikipedia
  • Non-Wikipedia link:
    {{Plain link|https://wiktionary.org|Wiktionary}}Wiktionary
  • Hover text (tooltip):
    {{Plain link|https://wiktionary.org|Wiktionary|title=Wiktionary, the free dictionary}}Wiktionary

Note that if your url or link title contains an equals sign = you must use named parameters:

  • {{Plain link|url=https://en.wikipedia.org/w/index.php?title=Equals_sign&oldid=282228764|name="=" }}"="

Redirects

To be more concise, you can use {{scp}} or {{plnk}} and numbers as parameter names, e.g.:

  • {{scp|1=https://en.wikipedia.org/w/index.php?title=Equals_sign&oldid=282228764|2="="}} gives the same "="
  • {{plnk|1=https://en.wikipedia.org/w/index.php?title=Equals_sign&oldid=282228764|2="="}} gives the same "="

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Plain link in articles based on its TemplateData.

TemplateData for Plain link

Use this template to add a local or interwiki link that would otherwise show a box and arrow icon next to the link without the icon.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
URLurl URL 1

URL of the link. For Wikimedia links, use the format "//example.com". This allows users to use the protocol they're currently using.

URLoptional
Textname NAME 2

Text to be linked

Stringoptional
Titletitle

Title attribute of the span surrounding the link, which will appear when hovering

Stringoptional

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.