Difference between revisions of "Template:Wikipedia"
Jump to navigation
Jump to search
(Template to link to Wikipedia in a standard way) |
|||
Line 1: | Line 1: | ||
− | <div>'''[http://{{{2|en}}}.wikipedia.org/wiki/{{urlencode:{{{1|{{PAGENAME}}}}} Wikipedia: {{{1|{{PAGENAME}}}}}]'''</div><noinclude> | + | <div>'''[http://{{{2|en}}}.wikipedia.org/wiki/{{urlencode:{{{1|{{PAGENAME}}}}} Wikipedia: {{{1|{{PAGENAME}}}}}]''' ({{#language:{{{2|en}}}}})</div><noinclude> |
=== Usage === | === Usage === | ||
Line 11: | Line 11: | ||
For instance this links to the article ''Yiddish language'' in the English Wikipedia (en). | For instance this links to the article ''Yiddish language'' in the English Wikipedia (en). | ||
− | :<tt><nowiki>{{Wikipedia| | + | :<tt><nowiki>{{Wikipedia|Yiddish_language|en}}</nowiki></tt> |
The language code is optional, by default the language code ''en'' is used: | The language code is optional, by default the language code ''en'' is used: | ||
− | :<tt><nowiki>{{Wikipedia| | + | :<tt><nowiki>{{Wikipedia|Yiddish_language}}</nowiki></tt> |
If you also omit the article, the name of the current Glottopedia article is used: | If you also omit the article, the name of the current Glottopedia article is used: |
Revision as of 09:03, 11 October 2008
Wikipedia: Wikipedia (English)
Usage
This template can be used to link to an article in Wikipedia.
You can provide two template parameters: article and language code:
- {{Wikipedia|article|language code}}
For instance this links to the article Yiddish language in the English Wikipedia (en).
- {{Wikipedia|Yiddish_language|en}}
The language code is optional, by default the language code en is used:
- {{Wikipedia|Yiddish_language}}
If you also omit the article, the name of the current Glottopedia article is used:
- {{Wikipedia}} or {{Wikipedia||en}}