This template is used in the Further Reading or References section of a Wiktionary entry to link to a Wikipedia article. It displays a single line, including the link to the article along with text indicating that the article comes from Wikipedia (or from a foreign-language version of Wikipedia if |lang=
is given). It displays identically to {{pedia}}
, but takes a slightly different calling convention, with the first numbered parameter containing the language code of the version of Wikipedia to link to. This makes it convenient especially for linking to foreign-language Wikipedias. For example, on the French page spoiler, an invocation like this:
* {{R:wp|fr|spoiler (aéronautique)}}
displays as follows:
|1=
en
for the English Wikipedia. NOTE: This is a Wikimedia language code, not a Wiktionary language code. See discussion below.|2=
|3=
|2=
.|sc=
|2=
(or of the display text in |3=
, if provided). This is used when displaying the link to the page on Wikipedia. You rarely need to specify this, as it is autodetected. NOTE: This is a Wiktionary script code.|i=1
|nodot=1
Parameter |1=
specifies the version of Wikipedia to link to. This is a Wikimedia language code, not a Wiktionary language code. The two sets of language codes are similar, but there are some critical differences. For example, Wiktionary has a single language code sh
for Serbo-Croatian, and no language codes for national variants of Serbo-Croatian (Serbian, Croatian, Bosnian, Montenegrin). Wikipedia, however, has four separate corresponding variants: Serbo-Croatian (sh
), Serbian (sr
), Croatian (hr
) and Bosnian (bs
). Wikipedia also has two variants corresponding to Belarusian in Wiktionary: Belarusian per se (be
) and Belarusian (Taraškievica) (be-tarask
). In addition, sometimes the same language has different codes in Wiktionary vs. Wikipedia; for example, Cantonese uses yue
in Wiktionary but zh-yue
in Wikipedia, and Tarantino uses roa-tar
in Wiktionary but roa-tara
in Wikipedia.
{{wikipedia}}
, {{wp}}
: a floating box, placed directly under the language heading or relevant part-of-speech heading{{slim-wikipedia}}
, {{swp}}
: slimmer version of {{wikipedia}}
{{pedia}}
: exactly identical to {{R:wp}}
except that it takes the Wikimedia language code in the |lang=
parameter instead of the first numbered parameter{{w}}
: plain inline text link to Wikipedia, with the Wikimedia language code in |lang=
{{lw}}
: plain inline text link to Wikipedia, with the Wikimedia language code in |1=