Template:Wikimedia: Difference between revisions
Jump to navigation
Jump to search
imported>J. Noel Chiappa (Fix bug, update documentation) |
imported>J. Noel Chiappa (Update examle to include link to section) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[http://meta.wikimedia.org/wiki | [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 | ||
Line 12: | Line 12: | ||
'''Example''': | '''Example''': | ||
<nowiki>{{Wikimedia|Help:Template| | <nowiki>{{Wikimedia|Help:Template#Parameters|Template parameters}}</nowiki> | ||
gives: | gives: | ||
{{Wikimedia|Help:Template| | {{Wikimedia|Help:Template#Parameters|Template parameters}} | ||
Latest revision as of 08:20, 10 May 2008
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:
Shortcut: {{WM}}