Template:Wikipedia: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (+ Temporary examples)
m (fix)
Line 1: Line 1:
[http://{{{lang|en}}}.wikipedia.org/wiki/{{{page|}}} WP{{#if: {{{lang|}}}| -{{{lang|}}} }}:{{{page|}}}] {{#if: {{{oldid|}}} | ([http://{{{lang|en}}}.wikipedia.org/w/index.php?title={{{page|}}}&oldid={{{oldid|}}} permalink]) }}<noinclude>
[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>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__

Revision as of 00:56, 19 May 2014

WP:

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=}}
page
Mandatory page title to link to.
lang
Optional two letter language code to link to another language version than the English one.
oldid
Optional 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}}

User:Johan G/Template:Wikipedia