Шаблон:W/doc

Материал из WikiMANNia
Перейти к навигации Перейти к поиску
Information icon.svg Этот шаблон[wp] показывает окно документации. Он включает в себя текст подстраницы Шаблон:W.
External links to other Wikis

The templates described herein are the links to articles from other wikis.

Use

{{W|}}

{{W|lang=en|}}

{{W|mode=long|}}

Parameters

All parameters are optional. Parameter 1 may be omitted if the lemmas are identical in WikiMANNia and foreign Wiki. Parameter 2 can be omitted if the text to be displayed matches the link with the lemmas. Parameter "lang" can be omitted if the target wiki is multilingual, or the English version is addressed.

Parameter-Number Parameter-Name Comment / Example
1 File Lema, Name of the linked file
2 Title Text displayed in the link (optional, if different from parameter 1)
anchor Anchor to a paragraph on an article ("#") (optional)
lang language abbreviation: "de", "en", "es", "fr", "it", ... (optional, default value: "en")
mode Mode
  1. long = with "Wikipedia: " as a prefix
  2. link = with "Wikipedia: " as a prefix
  3. short = without prefix

Templates

Template Name Wiki URL Wiki Comment
Q WikiQuote wikiquote.org - - -
W Wikipedia wikipedia.org - - -
Wikt Wiktionary wiktionary.org - - -

Examples

{{Q
 | Simone de Beauvoir}}

results:

Simone de Beauvoir[wq]

{{Q
 | Simone de Beauvoir
 | lang=es}}

results:

Simone de Beauvoir[wq]

{{W
 | Hamburger Hafen}}

results:

Hamburger Hafen[wp]

{{W
 | City of London
 | lang=en}}
{{W
 | City of London
 | Londoner Innenstadt
 | lang=en}}

results:

City of London[wp]
Londoner Innenstadt[wp]

{{W
 | La Coruña
 | lang=es}}

results:

La Coruña[wp]

{{W
 | Alain Soral
 | lang=fr}}

results:

Alain Soral[wp]

{{W
 | Hamburger Hafen
 | mode=link}}
{{W
 | Hamburger Hafen
 | Hamburger Freihafen
 | mode=link}}

results:

Wikipedia: Hamburger Hafen
Wikipedia: Hamburger Freihafen

{{W
 | City of London}}
 | lang=en
 | mode=link}}

results:

Wikipedia: City of London

{{W
 | Alain Soral
 | lang=fr}}
{{W
 | Alain Soral
 | Soral
 | lang=fr
 | mode=link}}

results:

Alain Soral[wp]
Wikipedia: Soral

{{Wikt
 | Demokratie}}

results:

Demokratie[wikt]

See also