Difference between revisions of "Template:Mediawiki"

From NsdWiki
Jump to: navigation, search
m (1 revision)
 
Line 22: Line 22:
  
 
<nowiki>
 
<nowiki>
{{mediawiki|m:Help:Calculation|Help:Calculation}}</nowiki> gives either <nowiki>[[m:Help:Calculation|Help:Calculation]] or [http://www.mediawiki.org/wiki/m%3AHelp%3ACalculation Help:Calculation]</nowiki>, rendered as [[m:Help:Calculation|Help:Calculation]] or [http://www.mediawiki.org/wiki/m%3AHelp%3ACalculation Help:Calculation], respectively.  
+
{{mediawiki|m:Help:Calculation|Help:Calculation}}</nowiki> gives either <nowiki>[[meta:Help:Calculation|Help:Calculation]] or [http://www.mediawiki.org/wiki/m%3AHelp%3ACalculation Help:Calculation]</nowiki>, rendered as [[meta:Help:Calculation|Help:Calculation]] or [http://www.mediawiki.org/wiki/m%3AHelp%3ACalculation Help:Calculation], respectively.  
  
 
[[Category:Info templates|MediaWiki]]
 
[[Category:Info templates|MediaWiki]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:32, 8 March 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 [[meta:Help:Calculation|Help:Calculation]] or [http://www.mediawiki.org/wiki/m%3AHelp%3ACalculation Help:Calculation], rendered as Help:Calculation or Help:Calculation, respectively.