Template:Wikimedia: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Note syntax limitation in argument)
imported>J. Noel Chiappa
(Fix bug, update documentation)
Line 1: Line 1:
[http://meta.wikimedia.org/wiki/{{{1|{{BASEPAGENAMEE}}}}} {{{2|{{{1|{{BASEPAGENAME}}}}}}}}]<noinclude>
[http://meta.wikimedia.org/wiki/{{#if:{{{1|}}}|{{anchorencode:{{{1}}}}}|{{BASEPAGENAMEE}}}} {{{2|{{{1|{{BASEPAGENAME}}}}}}}}]<noinclude>


'''Usage'''
'''Usage'''
Line 9: Line 9:
<nowiki>{{Wikimedia|Name|Text}}</nowiki> links to the Wikimedia article on Meta called "Name", with the string "Text" being the hyperlink in the page here
<nowiki>{{Wikimedia|Name|Text}}</nowiki> links to the Wikimedia article on Meta 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.
 
'''Example''':
 
<nowiki>{{Wikimedia|Help:Template|An introduction to templates}}</nowiki>
 
gives:
 
{{Wikimedia|Help:Template|An introduction to templates}}
 


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


</noinclude>
</noinclude>

Revision as of 12:01, 12 March 2008

Wikimedia

Usage

{{Wikimedia}} links to the Wikimedia article on Meta with the same name as the page name

{{Wikimedia|Name}} links to the Wikimedia article on Meta called "Name"

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


Example:

{{Wikimedia|Help:Template|An introduction to templates}}

gives:

An introduction to templates


Shortcut: {{WM}}