Difference between revisions of "Template:Mediawiki"

From RobotX
Jump to navigation Jump to search
Mediawiki>Tacsipacsi
(add interwiki prefix also for non-special links)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:42, 1 December 2019

[[mediawikiwiki:{{{1}}}|{{{1}}}]]

Template documentation[view] [edit] [history] [purge]

This template links to a page on mediawiki.org from the Help pages. The template has three parameters:

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description
  3. (optional) Special. Set this to "yes" for special pages, and the template will link to the local Special page if it exists (otherwise, it will point to mediawiki.org).


Examples


MediaWikiWiki interwiki link for missing local page

Template parameters

ParameterDescriptionTypeStatus
page1

Wikilink working on MediaWikiWiki

Pagerequired
text2

Link text

Default
Page name (parameter #1)
Stringoptional
Specialspecial

Any non-empty value to try local before MediaWikiWiki special page

Stringoptional