Template:Wikipedia: Difference between revisions
Jump to navigation
Jump to search
(Fixing links broken due to missing underscores; Replacing the preceding WP(-lang) with a trailing Wikipedia icon; The lang parameter will for now not display the language) |
(Noting that language will not be shown and that the the page title might give a hint; etc) |
||
Line 7: | Line 7: | ||
== 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. | All parameters are optional. | ||
Line 13: | Line 13: | ||
; page: Page title to link to. | ; page: Page title to link to. | ||
; lang: Two letter language code to link to another language version than the English one. | ; lang: Two letter language code to link to another language version than the English one. The language will not be shown (currently not implemented), but the page title might give a hint. | ||
; 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. | ; 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. | ||
Line 21: | Line 21: | ||
{{wikipedia|FlightGear}} | {{wikipedia|FlightGear}} | ||
<nowiki>{{wikipedia|FlightGear |lang=sv}}</nowiki> | <nowiki>{{wikipedia|FlightGear|lang=sv}}</nowiki> | ||
{{wikipedia|FlightGear |lang=sv}} | {{wikipedia|FlightGear|lang=sv}} | ||
<nowiki>{{wikipedia|FlightGear |oldid=596124837}}</nowiki> | <nowiki>{{wikipedia|FlightGear|oldid=596124837}}</nowiki> | ||
{{wikipedia|FlightGear |oldid=596124837}} | {{wikipedia|FlightGear|oldid=596124837}} | ||
== Related templates == | == Related templates == |
Revision as of 00:35, 6 June 2014
Main Page File:Wikipedia icon 32px.png
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. The language will not be shown (currently not implemented), but the page title might give a hint.
- 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}}
FlightGear File:Wikipedia icon 32px.png
{{wikipedia|FlightGear|lang=sv}}
FlightGear File:Wikipedia icon 32px.png
{{wikipedia|FlightGear|oldid=596124837}}
FlightGear (permalink) File:Wikipedia icon 32px.png
Related templates
- {{cite web}}