Template:W

From ChoralWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Documentation

This template is used to create an inline link to the corresponding Wikipedia article for that subject.

Syntax

{{W|1=<Wikipedia article>|2=<displayed text>|lang=<2-digit language code>}}

or

{{w|<Wikipedia article>|<displayed text>|lang=<2-digit language code>}}

where

  • |1= the Wikipedia article titleLink to the English Wikipedia article. It is mandatory;
  • |2= optional text to be displayed in the link. If not specified, the Wikipedia title will be used;
  • |lang= language of the Wikipedia article. It's the first two digits of the link (for example, de in de.wikipedia.org); when not specified, the template defaults to English.

Note that hovering the mouse over the Wikipedia's W.svg will display a tooltip box with information about the link and the article's language.

Examples

{{W|counterpoint}}

produces:

counterpointLink to the English Wikipedia article

{{W|William Smith (composer)|William Smith}}

produces:

William SmithLink to the English Wikipedia article

{{W|Franz Xaver Engelhart|lang=de‎‎}}

produces:

Franz Xaver EngelhartLink to the German Wikipedia article

Categorization

The page is categorized according to the language of the Wikipedia article: English Wikipedia links, French Wikipedia links etc.

See also