Template:Wikimedia: Difference between revisions
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 | [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 | ||
''' | |||
'''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 11:01, 12 March 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"
{{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:
Shortcut: {{WM}}