Open main menu

Wikimedia Commons β


Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:W/doc.

This template is used to help create interwiki links without displaying the prefix, and without the need for repetition if the page name is to display; in this case understroke characters in the page name are replaced by space characters.

  • The default prefix is simply w: which creates a link to the English Wikipedia. However the language can be specified in the third parameter.


{{W |1= }}

Template parameters

Parameter Description Default Status
1 page name; also specific [sub]pages or name spaces as user, category, talk ... main page of the wiki optional
2 display text parameter #1 optional
3 language code (ISO 639-1), or sisterproject prefix en optional
link returns plain text instead of a link when set to link=no empty optional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

See also

{{Ud}} and other Interwiki link templates;

{{Wb}} links to bn:Wikipedia
{{Wd}} links to de:Wikipedia
{{We}} links to es:Wikipedia
{{Wf}} links to fr:Wikipédia
{{Wh}} links to hu:Wikipédiá
{{Wi}} links to it:Wikipedia
{{Wm}} links to mk:Википедија
{{Wn}} links to nl:Wikipedia
{{Wr}} links to ru:Википедия
{{Wu}} links to uk:Вікіпедія
{{Wz}} links to zh:維基百科

the faster one can reserve "W" with a one-letter-code; e.g. "Wp" may link to pt or pl.
More templates W× are elsewhere in use:
but there are no other language codes starting with "w", plenty of "W×" templates may be created.


This template is not intended to be localized.


Instead of an external link to sister projects e.g. [ en.wikipedia] use better an internal one like {{W||en.wikipedia}}.


All parameter combinations

000 {{W}} → Wikipedia [1]

003 {{W|3=es}} → Wikipedia [1] Arrow facing left - Green.svg {{We}}: {{ We }} → es:Wp
003 {{W|3=pt}} → Wikipedia [1]

020 {{W||Main Page}} → Main Page
020 {{W||en:Main Page}} → en:Main Page

023 {{W||Ĉefpaĝo|eo}} → Ĉefpaĝo
023 {{W||pt:Wikipedia|pt}} → pt:Wikipedia
023 {{W||pt:Wp|pt}} → pt:Wp (preferred style of a link to a national mainpage)
023 {{W||de:Wp|de}} → de:Wp Arrow facing left - Green.svg {{Wd}}: {{ Wd }} → de:Wp

100 {{W|Page name}} → Page name

103 {{W|Page name||it}} → Page name Arrow facing left - Green.svg {{Wi}}: {{ Wi }} → it:Wp
103 {{W|Page name||fr}} → Page name Arrow facing left - Green.svg {{Wf}}: {{ Wf }} → fr:Wp
103 {{W|{{FULLPAGENAME}}|3=pl}} → Template:W

120 {{W|Page name|Display name}} → Display name

123 {{W|Page name|Display name|nl}} → Display name Arrow facing left - Green.svg {{Wn}}: {{ Wn }} → nl:Wp
123 {{W|Page name|Display name|hu}} → Display name Arrow facing left - Green.svg {{Wh}}: {{ Wh }} → hu:Wp

  1. a b c It is recommended to use parameter #2 giving an explaining text, as shown in the “023” Main Page examples.

Complex page name examples
3=de de:Wikipedia Benutzer Diskussion:Andreas 06/Spielwiese/Stadien der Fußball-Bundesliga
3=fr fr:Wikipédia Discussion aide:Catégorie/Archive3
3=yi yi:Wikipedia ענדערן הילף:אינהאלט
3=pt pt:Wikipedia Categoria:Cidades fantasmas da CalifórniaPredefinição Discussão:!Info pessoal
3= en:Wikipedia Template talk:Welcome/fr
3=nl:b nl:Wikibooks Scalable Vector Graphics/Stijl
3=en:d en:Wikidata Project chat
3=en:n en:Wikinews Egyptian MP calls for web porn ban
3=fi:q fi:Wikiquote Elizabeth II
3=es:s es:Wikisource Archivo:Las Maravillas Del Cielo pg 7.jpg
3=sv:v sv:Wikiversity Surdegsbakning för hemmabagaren
3=pl:voy pl:Wikivoyage San Francisco
3=lt:wikt lt:Wiktionary Sąrašas:Kinų hieroglifų raktai
3=m 00 Metawiki VisualEditor/Newsletter/2014/November/ka
3=mw 00 Mediawiki Extension:ParserFunctions/it
3=species 0Wikispecies Verrucaria halizoa
3=en:commons en:Commons Template:W