Template:MediaWiki: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Fix, update documentation)
imported>J. Noel Chiappa
(Fix to make section targets work)
Line 1: Line 1:
[http://www.mediawiki.org/wiki/{{#if:{{{1|}}}|{{anchorencode:{{{1}}}}}|{{BASEPAGENAMEE}}}} {{{2|{{{1|{{BASEPAGENAME}}}}}}}}]<noinclude>
[http://www.mediawiki.org/wiki?title={{#if:{{{1|}}}|{{urlencode:{{{1}}}}}|{{BASEPAGENAMEE}}}} {{{2|{{{1|{{BASEPAGENAME}}}}}}}}]<noinclude>


'''Usage'''
'''Usage'''

Revision as of 09:12, 10 May 2008

MediaWiki

Usage

{{MediaWiki}} links to the MediaWiki article with the same name as the page name

{{MediaWiki|Name}} links to the MediaWiki article called "Name"

{{MediaWiki|Name|Text}} links to the MediaWiki article called "Name", with the string "Text" being the hyperlink in the page here


Example:

{{MediaWiki|Help:Templates|An introduction to templates}}

gives:

An introduction to templates


Shortcut: {{MW}}