Template:Mediawiki: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 04:20, 17 April 2009

{{{1}}}


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

  1. Pagename, optionally preceded by an interwiki link prefix valid on mediawiki.org
  2. (optional) Link description


Spaces in Page Titles

These must be replaced with underscores, otherwise the urlencoding mangles them and you get a page not found error on mediawiki.org.

So need {{Mediawiki|Page_Title}} not {{Mediawiki|Page Title}}

Demo of interwiki link

{{mediawiki|m:Help:Calculation|Help:Calculation}} gives either [[m:Help:Calculation|Help:Calculation]] or [http://www.mediawiki.org/wiki/m%3AHelp%3ACalculation Help:Calculation], rendered as Help:Calculation or Help:Calculation, respectively.