Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a464f56c284f51f9

Jump to content

Template:Plain link/doc

From Wikipedia, the free encyclopedia

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

[edit]

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

[edit]
  • No link text:
    {{Plain link|url=https://www.wikipedia.org}} →
  • 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

[edit]

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

[edit]
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

[edit]