Template:Wikimedia: Difference between revisions
Jump to navigation
Jump to search
imported>J. Noel Chiappa (Switch to shorter syntax) |
imported>J. Noel Chiappa (Update examle to include link to section) |
||
(5 intermediate revisions 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''' | ||
<nowiki>{{ | <nowiki>{{Wikimedia}}</nowiki> links to the Wikimedia article on Meta with the same name as the page name | ||
<nowiki>{{ | <nowiki>{{Wikimedia|Name}}</nowiki> links to the Wikimedia article on Meta called "Name"; one can also include an anchor if so desired | ||
<nowiki>{{ | <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 | ||
'''Example''': | |||
<nowiki>{{Wikimedia|Help:Template#Parameters|Template parameters}}</nowiki> | |||
gives: | |||
{{Wikimedia|Help:Template#Parameters|Template parameters}} | |||
''Shortcut:'' <nowiki>{{WM}}</nowiki> | |||
</noinclude> | </noinclude> |
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}}