Template:Wikipedia: Difference between revisions
Jump to navigation
Jump to search
m (fix) |
m (hmm) |
||
Line 1: | Line 1: | ||
[http://{{{lang|en}}}.wikipedia.org/wiki/{{{1|}}} WP{{#if: {{{lang|}}}| -{{{lang|}}} }}:{{{1|}}}] {{#if: {{{oldid|}}} | ([http://{{{lang|en}}}.wikipedia.org/w/index.php?title={{{1|}}}&oldid={{{oldid|}}} permalink]) }}<noinclude> | [http://{{{lang|en}}}.wikipedia.org/wiki/{{{1|}}} WP{{#if: {{{lang|}}}| -{{{lang|}}} }}:{{{1|Main Page}}}] {{#if: {{{oldid|}}} | ([http://{{{lang|en}}}.wikipedia.org/w/index.php?title={{{1|}}}&oldid={{{oldid|}}} permalink]) }}<noinclude> | ||
{{Informative template|1= | {{Informative template|1= | ||
__NOTOC__ | __NOTOC__ | ||
Line 8: | Line 8: | ||
== Usage == | == Usage == | ||
<nowiki>{{</nowiki>'''wikipedia'''<nowiki>|</nowiki>page<nowiki>|</nowiki>''lang=''<nowiki>|</nowiki>''oldid=''<nowiki>}}</nowiki> | <nowiki>{{</nowiki>'''wikipedia'''<nowiki>|</nowiki>''page''<nowiki>|</nowiki>''lang=''<nowiki>|</nowiki>''oldid=''<nowiki>}}</nowiki> | ||
All parameters are optional. | |||
; | ; page: Page title to link to. | ||
; oldid: | ; lang: Two letter language code to link to another language version than the English one. | ||
; oldid: Oldid from the end of the Wikipedia permalink URL to use when linking to a specific article revision. Can be found through the page history. | |||
== Examples == | == Examples == |
Revision as of 01:00, 19 May 2014
The following template description is not displayed when the template is inserted in an article.
Goal
This template can be used for links to Wikipedia pages.
Usage
{{wikipedia|page|lang=|oldid=}}
All parameters are optional.
- page
- Page title to link to.
- lang
- Two letter language code to link to another language version than the English one.
- oldid
- Oldid from the end of the Wikipedia permalink URL to use when linking to a specific article revision. Can be found through the page history.
Examples
{{wikipedia|FlightGear}}
User:Johan G/Template:Wikipedia
{{wikipedia|FlightGear|lang=sv}}
User:Johan G/Template:Wikipedia
{{wikipedia|FlightGear|oldid=596124837}}