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
(Update examle to include link to section)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://meta.wikimedia.org/wiki/{{{1|{{BASEPAGENAMEE}}}}} {{{2|{{{1|{{BASEPAGENAME}}}}}}}}]<noinclude>
[http://meta.wikimedia.org/wiki?title={{#if:{{{1|}}}|{{urlencode:{{{1}}}}}|{{BASEPAGENAMEE}}}} {{{2|{{{1|{{BASEPAGENAME}}}}}}}}]<noinclude>


'''Usage'''
'''Usage'''
Line 5: Line 5:
<nowiki>{{Wikimedia}}</nowiki> links to the Wikimedia article on Meta with the same name as the page name
<nowiki>{{Wikimedia}}</nowiki> links to the Wikimedia article on Meta with the same name as the page name


<nowiki>{{Wikimedia|Name}}</nowiki> links to the Wikimedia article on Meta called "Name"
<nowiki>{{Wikimedia|Name}}</nowiki> links to the Wikimedia article on Meta called "Name"; one can also include an anchor if so desired


<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#Parameters|Template parameters}}</nowiki>
 
gives:
 
{{Wikimedia|Help:Template#Parameters|Template parameters}}
 


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


</noinclude>
</noinclude>

Latest revision as of 08:20, 10 May 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"; one can also include an anchor if so desired

{{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#Parameters|Template parameters}}

gives:

Template parameters


Shortcut: {{WM}}