Template:Mediawiki

From CityDeepSky
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
[http://www.mediawiki.org/wiki/{{{1}}} {{{2}}}]
+
[{{{1}}} {{{2}}}]
 
<noinclude>
 
<noinclude>
 
----
 
----
 
This template links to a page on mediawiki.org from the [[Help:Contents|Help pages]]. The template has two parameters:
 
This template links to a page on mediawiki.org from the [[Help:Contents|Help pages]]. The template has two parameters:
 
# Pagename
 
# Pagename
# (optional) Link description
+
# Link description
  
{{mediawiki
+
{{mediawiki| http://www.mediawiki.org/wiki/help | Help}}
| help
+
 
| This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Mediawiki:
+
This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Mediawiki:
 
* on external sites, it creates an external link
 
* on external sites, it creates an external link
 
* on Mediawiki, it creates an internal link
 
* on Mediawiki, it creates an internal link
  
'''All''' links from the Help namespace to other parts of the mediawiki.org wiki should use this template.}}
+
'''All''' links from the Help namespace to other parts of the mediawiki.org wiki should use this template.
  
 
[[Category:Info templates|MediaWiki]]
 
[[Category:Info templates|MediaWiki]]
 
</noinclude>
 
</noinclude>

Revision as of 14:50, 28 January 2009

[{{{1}}} {{{2}}}]


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

  1. Pagename
  2. Link description

[ http://www.mediawiki.org/wiki/help ]


This is so that the public domain help pages - which can be freely copied and included in other sites - have correct links to Mediawiki:
  • on external sites, it creates an external link
  • on Mediawiki, it creates an internal link

All links from the Help namespace to other parts of the mediawiki.org wiki should use this template.

Personal tools