Template:Mediawiki: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
(Fixed handing of page titles with spaces in them for external links case. urlencode was translating them to '+'.)
(No difference)

Revision as of 17:56, 16 November 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


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.