Template:Plain link

From Looney Tunes Wiki
(Redirected from Template:Plainlink)
Jump to navigationJump to search

[{{{url}}} ]

Usage

This template allows you to create a local or interwiki link on a page without having the arrow symbol follow the link.

Examples

  • {{Plain link |url=//www.wikipedia.org}} gives [1]
  • {{Plain link |//www.wikipedia.org Wikipedia}} gives Wikipedia
  • {{Plain link |http://www.wikipedia.org | Wikipedia}} gives Wikipedia

Notes

Do not leave a space before the start of the URL, it confuses the [ URL ] parser.

If you leave the "scheme" (http: or https:) off the start of the URL parameter, the hyperlink will use the current page's protocol.

If your url or link title contains an equals sign = you must use named parameters or {{=}}:

  • <templatestyles src="Template:Mono/styles.css"/>{{Plainlink|url=http://en.wikipedia.org/w/index.php?title=Equals_sign&oldid=282228764|name="="}} gives "="
  • <templatestyles src="Template:Mono/styles.css"/>{{Plainlink|http://en.wikipedia.org/w/index.php?title{{=}}Equals_sign&oldid{{=}}282228764|"{{=}}"}} gives "="