Template:Wiki

From OpenStreetMap Wiki
Jump to: navigation, search
[[wikipedia:{{{1}}}|{{{1}}}]]
[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation

Use

The {{Wiki}} or {{Wp}} template is used for creation of a link to Wikipedia :

  • {{Wiki|Page name}} ‒ Single parameter; use title of Wikipedia article.
  • {{Wiki|Page name|lang}} ‒ Optionally, specify an alternate language code.

Non-English Wikipedias

Using only the bare Wikipedia article title defaults to linking to the English Wikipedia; if a language prefix is used, the link leads to the language-specific Wikipedia.

For instance, {{Wiki|de:Bahnstrom}} and {{Wiki|Railway electrification system}} lead to the German-language and English-language versions of articles on "Railway electrification system".

Alternatively you can use an optional 2nd parameter to specify the Wikipedia language code that will not be displayed but will link to the same Wikipedia article.

For instance, {{Wiki|de:Bahnstrom}} renders as de:Bahnstrom, while {{Wiki|Bahnstrom|de}} renders as Bahnstrom, but both will link to the same German-language article.