Last modified on 29 February 2012, at 04:34

Template:W

Wikipedia

Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:W/doc.

This is used to help create interwiki links, without displaying the prefix, and without the need for repetition if the link text is the same as target page name.

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

Usage

{{W |1= |2= |3= }}

Template parameters

Parameter Description Default Status
1 page name; also specific [sub]pages (e.g: user, category, talk, ...) main page of the wiki required
2 display text parameter #1 optional
3 language code (ISO 639), or sisterproject prefix en 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
{{Wd}} links to de:Wikipedia
{{Wf}} links to fr:Wikipédia
{{Wn}} links to nl:Wikipedia
{{Wh}} links to hu:Wikipédiá

Localization

This template is not intended to be localized.

Examples

All parameter combinations

000 {{W}} → Wikipedia [1]

003 {{W|3=es}} → Wikipedia [1]
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

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

103 {{W|Page name||it}} → Page name
103 {{W|Page name||fr}} → Page name
103 {{W|{{FULLPAGENAME}}|3=pl}} → Template:W

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

123 {{W|Page name|Display name|nl}} → Display name
123 {{W|Page name|Display name|hu}} → Display name

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


Complex page name examples