Template:MediaWiki: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Update to new name)
imported>J. Noel Chiappa
(Note syntax limitation in argument)
Line 1: Line 1:
[http://www.mediawiki.org/wiki/{{{1|{{BASEPAGENAMEE}} }}} {{{2| {{{1| {{BASEPAGENAME}} }}} }}}]<noinclude>
[http://www.mediawiki.org/wiki/{{{1|{{BASEPAGENAMEE}}}}} {{{2|{{{1|{{BASEPAGENAME}}}}}}}}]<noinclude>


'''Usage'''
'''Usage'''
Line 9: Line 9:
<nowiki>{{MediaWiki|Name|Text}}</nowiki> links to the MediaWiki article called "Name", with the string "Text" being the hyperlink in the page here
<nowiki>{{MediaWiki|Name|Text}}</nowiki> links to the MediaWiki article called "Name", with the string "Text" being the hyperlink in the page here


'''Note''': The 'Name' argument cannot have spaces in it, otherwise the template doesn't work; replace all spaces with _'s.


''Shortcut'': <nowiki>{{MW}}</nowiki>
''Shortcut'': <nowiki>{{MW}}</nowiki>


</noinclude>
</noinclude>

Revision as of 23:20, 7 March 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

Note: The 'Name' argument cannot have spaces in it, otherwise the template doesn't work; replace all spaces with _'s.

Shortcut: {{MW}}