Template:Mediawiki/doc

Everything About Fiction You Never Wanted to Know.
< Template:Mediawiki
Revision as of 03:38, 11 February 2014 by Looney Toons (talk | contribs) (copied documentation from http://www.mediawiki.org/wiki/Template:Mediawiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  • {{Mediawiki|Page_Title}}
  • {{Mediawiki|Page_Title|text}}
  • {{Mediawiki|Page_Title|special=yes}}
  • {{Mediawiki|Page_Title|text|special=yes}}

Demo of interwiki link

{{mediawiki|m:Help:Calculation|Help:Calculation}} gives either
[[m:Help:Calculation|Help:Calculation]] or [[mw:m:Help:Calculation|Help:Calculation]].

Language: English