__EXPECTUNUSEDTEMPLATE__

Use this template to create internal links with parameter support.

This template is similar to the {{fullurl:...}} magic word, but in addition

  • Allows to write each URL parameter as a separate template parameter
  • Automatically sanitizes parameter names and values via {{urlencode:...|QUERY}}
  • Automatically inserts the link generated within a <syntaxhighlight lang="html" inline>...</syntaxhighlight> element – you can pass an empty |class= parameter to avoid it

Usage

Manuscript:

<syntaxhighlight lang="wikitext">Lorem ipsum</syntaxhighlight>

Effect:

Lorem ipsum

Parameters

This template creates internal links with parameter support.

Template parameters

ParameterDescriptionTypeStatus
Page1

Internal page to link

Example
Special:RecentChanges
Stringrequired
Text2

Text to show

Example
Lorem ipsum
Stringoptional
HTML classclass

‘class’ attribute of the ‘span’ element that contains the link (‘<span class="plainlinks">...</span>’ if the parameter is omitted; no ‘span’ element will surround the link if this parameter is given empty!)

Example
plainlinks user-show
Stringoptional

See also