Difference between revisions of "Template:Mediawiki"

From SacredWiki
Jump to navigation Jump to search
m (1 revision(s))
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
| MediaWiki
 
| MediaWiki
 
| [[{{{1}}}|{{{2|{{{1}}}}}}]]
 
| [[{{{1}}}|{{{2|{{{1}}}}}}]]
| [[mw:{{{1}}}|{{{2|{{{1}}}}}}]]
+
| [[{{#if:{{{special|}}}|{{#ifexist:{{{1|}}}||mw:}}}}{{{1}}}|{{{2|{{{1}}}}}}]]
 
}}<noinclude>
 
}}<noinclude>
 
----
 
----
Line 23: Line 23:
  
 
<nowiki>{{mediawiki|m:Help:Calculation|Help:Calculation}}</nowiki> gives either<br /> <nowiki>[[m:Help:Calculation|Help:Calculation]] or [[mw:m:Help:Calculation|Help:Calculation]]</nowiki>.
 
<nowiki>{{mediawiki|m:Help:Calculation|Help:Calculation}}</nowiki> gives either<br /> <nowiki>[[m:Help:Calculation|Help:Calculation]] or [[mw:m:Help:Calculation|Help:Calculation]]</nowiki>.
 
+
{{mediawiki|mw:Help:Calculation|Help:Calculation}}
 
{{Languages}}
 
{{Languages}}
  
 
[[Category:Info templates|MediaWiki]]
 
[[Category:Info templates|MediaWiki]]
 
</noinclude>
 
</noinclude>

Revision as of 23:26, 27 October 2013

[[{{{1}}}|{{{1}}}]]


This template links to a page on mediawiki.org 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 [[mw:m:Help:Calculation|Help:Calculation]]. Help:Calculation