Lompat ke isi

Seunaleuëk:Interlanguage link/doc

Nibak Wikipedia

Lua error in package.lua at line 80: module 'Module:Shortcut/config' not found.

Seunaleuëk:Bot use warning

Seunaleuëk:Expensive

This template may be used to add links to foreign-language Wikipedias for articles where English Wikipedia does not yet have one. The intent is to provide readers with options to research further into topics not yet covered by English Wikipedia. The intent is not to catalogue every foreign-language article; while there is no general consensus when this template should be used, or what languages should be linked when an article missing in English is present in several other language Wikipedias, more than 2 or 3 links are rarely needed.

This template adds additional links to one or more foreign-language Wikipedias to the end of a red link in order to both provide readers additional information provided by those languages and give editors additional resources when starting a new article on the topic. If and when an article on the red-linked topic is created, this template will only show the normal blue link to the page (i.e. the foreign-language links will be removed); the template can then be replaced by the standard wikilink, either manually or by a bot account.

Alternatively, the template provides a link to WikiData.[lower-alpha 1]

This template should not be used when an article on a topic already exists, Seunaleuëk:Em when the link is a redirect pointing to an article that potentially could be changed into its own article. See Seunaleuëk:Slink for other restrictions and caveats.

Note: all examples on this page will use Seunaleuëk:Tnull, the main template shortcut for this template

Seunaleuëk:T takes at a minimum two parameters (the "Basic syntax") for linking to a single foreign language, but it can be expanded to include multiple languages (see Seunaleuëk:Section link for the full list of codes). Formatting of the link (e.g. bold, italics, quotes) and display options (e.g. piping links) are described in the Seunaleuëk:Slink and Seunaleuëk:Slink sections below.

Basic syntax (one language, same title)
Seunaleuëk:Tlc

When only a single foreign language link is required and the title at the target language is the same as in English, all that is required in the template is the name of the article and the language code. For example, the German rapper Estikay does not have an article on the English Wikipedia but there is one on the German Wikipedia; to indicate that we would use Seunaleuëk:Tlc.

Basic syntax (one language, different title)
Seunaleuëk:Tlc

When only a single foreign language link is required, but the title at the target language is Seunaleuëk:Em the same as in English, the title of the foreign language article needs to be included. This often occurs an article title contains a word that would normally be translated, for example Seunaleuëk:Tlc.

Two (or more) languages, same title
{{ill|English article title|language 1 code||language 2 code||language 3 code||...}}

If there are two or more languages using the same title as the proposed English redlink, the foreign language names are not required. {{ill|Margarita Cueto|ca||es||pt}}Seunaleuëk:Ill

Note: Redirects appear as blue links while foreign-language links are still shown. For example, Seunaleuëk:-r is a redirect and thus {{ill|casa|es||it||ro}}Seunaleuëk:Ill.

Two (or more) languages, different title
Seunaleuëk:Tlc

If there are two or more languages, but with a different title as the proposed English redlink, the foreign language names are required Seunaleuëk:Tlc

Alternatives

[peusaneut asai]

Please see Help:Interlanguage links#Inline links for several ways you can add interlanguage links, of which this template is only one method, albeit the recommended one.

For use at the top of a section in the role where a Seunaleuëk:T link might normally be used, the template Seunaleuëk:T is available with similar functionality to this template for linking foreign Wikipedia articles.

Parameters

[peusaneut asai]

Parameters for this template come in four groups:

  • A: one parameter (always required) to specify the page title of the (as yet) non-existent article in English; this normally appears as a red link
  • B: parameters specifying the foreign Wikipedia page(s), either by Wikipedia language code and pagename (these come in pairs), or by a wikidata id (a single id may link many foreign Wikipedia pages)
  • C: optional link text, for altering what text is used for the link
  • D: optional stylistic parameters, for modifying how the link (or links) appear on the page

group A – a page title of a proposed new article for English Wikipedia; should comply with WP:Article title policy.

group B – specification of corresponding foreign Wikipedia page(s); up to 16 pairs of lang-code + page-title, or else a single wikidata id. Either qid *or* positional param |2= must be specified.

  • Paired positional params |2= and |3=, through |32= and |33=; the second item of each pair may be empty if the foreign pagename is the same as the param 1:
    • 2 and 3 – the language code and page to link to article(s) on foreign Wikipedia(s). Required unless |qid= is used.
    • 4 and 5 – a second lang-code and page to link to on a foreign wikipedia. Optional. If 5 is missing, it takes the value of param 1.
    • 6 and 7 – a third lang-code/page pair, to link a foreign Wikipedia article. Optional. If 7 is missing, it takes the value of param 1.
      and so on, up through:
    • 32 and 33 – last lang-code + page pair, to link one foreign Wikipedia article. Optional. If 33 is missing, it takes the value of param 1
  • or Wikidata id – use of this parameter overrides any positional parameters:
    • |qid= – the Wikidata item identifier corresponding to existing article(s) on other Wikipedias. The qid param replaces all of the paired parameters listed above in this group. See Wikipedia:Finding a Wikidata ID for help in locating a qid from an existing Wikipedia article that is linked from Wikidata. Alternatively, you can search for a qid directly at Wikidata by using the search box at the top of any Wikidata page and searching for a likely label, like this Basil of Luni search. The qid should appear in the search results.

group Caltering link text changing the text of the link (named param, optional):

  • |lt=... – turns the red English link into a piped link using the given text; ('lt' stands for "link text". There is no long form, i.e. you cannot use |link text=).

group Dstylistic parameters for formatting the output (all named params, and all optional):

  • |italics=yes – italicizes the display text (but not the language links) (Alias: italic)
  • |quote=yes – embed the linked param 1 article name in double quotes (language links remain outside) (Alias: quotes)
  • |nobold=yes – force language links to be normal weight, even if the template is embedded in a line of bolded text
  • |valign=... – values: Seunaleuëk:Pval (below the baseline), Seunaleuëk:Pval (above the baseline), or Seunaleuëk:Pval (none). (Alias: v)
  • |preserve=yes – force language links to display even if param 1 points to an existing article (Alias: display)
  • |short=yes – when |qid= is in use, shorten the link from '[Seunaleuëk:Blue]' to just '[Seunaleuëk:Blue]'. (Alias: s)

Examples

[peusaneut asai]
[peusaneut asai]

To create a piped link (text displayed that is different from the title of the page to which the text links), use the |lt= parameter (for link text). This is mainly useful if disambiguation is necessary, but can be used for any reason where a piped link would make sense.

In the last example above, a disambiguator is added because Seunaleuëk:-r is a redirect, and while (like Seunaleuëk:-r) this will still show the language codes as Seunaleuëk:Ill, the redirect points to Durs Grünbein which is entirely unrelated to the Argentine town. are another redirect case where it may make more sense to artificially create a redlink until such time as the redirect can be converted into an article, though this is not required; see Seunaleuëk:Slink below for more information and an example.

Stylistic parameters

[peusaneut asai]
ParameterCodeOutputRemarks
italicsSeunaleuëk:TlcSeunaleuëk:IllTarget shows as a bluelink but is a redirect so will still display language links
quoteSeunaleuëk:TlcSeunaleuëk:IllIf both this and |italics= are used, the quotes will not be italicised
nobold'''{{ill|Ropsha Palace|de|Ropscha-Palast|fr|Palais de Ropcha|nobold=y}}'''Seunaleuëk:IllAppears as Seunaleuëk:Ill if |nobold= is not used
valign Seunaleuëk:Tlc
Seunaleuëk:Tlc
Seunaleuëk:Tlc
Seunaleuëk:Ill
Seunaleuëk:Ill
Seunaleuëk:Ill
|valign=sup is discouraged as it may be confused with a footnote.
|valign=ib is for use in infoboxes to avoid the link being too small
preserveSeunaleuëk:TlcSeunaleuëk:IllSince Joke exists, this would normally appear as Seunaleuëk:Ill
qid/shortSeunaleuëk:Tlc
Seunaleuëk:Tlc
Seunaleuëk:Ill
Seunaleuëk:Ill
Per this 2018 RFC, do not place WikiData links in the main body of articles.

WikiData

[peusaneut asai]

Galat skrip: tidak ada modul tersebut "Labelled list hatnote".

This template can either supply one or more links to foreign-language articles or a single WikiData link (using the |qid= parameter detailed above).

When and where to supply a WikiData link?

Add a WikiData link to a concept where no quality article could be found in any language, but normally only through InfoBoxes or similar templates. WikiData links are also useful for red link lists in user or project space, and for identification purposes and to establish the initial connection to an already established piece of infrastructure elsewhere.

When and where not to supply a WikiData link?

When several foreign-language articles about a subject exists, the general reader is much better served by you hand-picking a few quality articles, than by a WikiData link. Remember, this template is not intended to supplant the existing interlanguage link functionality (WP:ILLSIDEBAR): most readers are much more at ease with the idea to visit a foreign-language article and then using the language sidebar or drop-down to find every language covering a subject, than to navigate the WikiData user interface.

Limitations and known issues

[peusaneut asai]

Automated removal

[peusaneut asai]

You can remove the template when a red link turns blue, and it is no longer needed. However, there is no need to remember to do so, because Cewbot does this automatically for you, replacing the template with a plain wikilink.

A possible downside of removing the template is loss of linkage to foreign articles in case the English Wikipedia article is later deleted. In that case, the blue wikilink will become a red link, where an Seunaleuëk:T template would re-emerge with visually apparent blue link(s) to foreign article(s).

Seunaleuëk:Respond Cewbot removes this template when it detects the target article has been created on English Wikipedia, converting {{ ill }} links to regular (blue) links.[lower-alpha 2]

Circular redirects

[peusaneut asai]

If the topic you are trying to provide interlanguage links for already exists on English Wikipedia as a redirect, and this redirect points back to the article you are trying to edit, this template might astonish readers; they expect a blue link to lead to an English-language article, but all they get is the same page reloaded. Attempts have been made for the {{ Interlanguage link }} template to automatically detect this, but currently none are functional. Seunaleuëk:Slink has other linking options, but if this template is to be used, the best option is to artificially create a red link using a reasonable disambiguator.

For example, Seunaleuëk:-r points to Hatohobei, so instead of using Seunaleuëk:Ill on the Hatohobei page it may be better to use Seunaleuëk:Ill, where the editor has made up a new red link target: Helen Reef (atoll) - this phrasing should tell other editors what subject the link is intended to cover if and when created. Please use these two versions of the Hatohobei article to compare: version with a circular redirect (Seunaleuëk:Cross avoid) and version with an artificial red link (Ya better). Do note that if an article about the atoll is written, either the artificial red link will need to be created as a redirect or the Hatohobei article will need to be edited to convert the Seunaleuëk:Tlc call into a regular wikilink.

In other words, there is no perfect solution; if the circular redirect is avoided, manual editing will be necessary if and when that redirect is expanded into a proper article, regardless of whether this template or another method is used.

Interlanguage links that are circular redirects are not converted by Cewbot into regular links.

Expensive parser call

[peusaneut asai]

Galat skrip: tidak ada modul tersebut "Labelled list hatnote".

Avoid filling an article with dozens or hundreds of instances of this template. See Seunaleuëk:Slink for alternative ways to display interlanguage links that avoids articles that mostly consist of {{ ill }} links.

In other Wikipedias

[peusaneut asai]

The Manual of Style in Spanish Wikipedia, and perhaps others, deprecates interlanguage links in live articles, and therefore the local version of this template (es:Plantilla:ill) is disabled for main (article) space. It still works for discussion pages, for example.

Interactions with other templates

[peusaneut asai]

In the main namespace, when using this template with the Seunaleuëk:T template, use |cat=no or |nocat=yes to remove the hidden category that {{lang}} creates.

Seunaleuëk:Cross {{ill|Machsor Lipsiae|de|lt={{lang|he-LA|Machsor Lipsiae}}}}
Ya {{ill|Machsor Lipsiae|de|lt={{lang|he-LA|Machsor Lipsiae|cat=no}}}}
Ya {{ill|Machsor Lipsiae|de|lt={{lang|he-LA|Machsor Lipsiae|nocat=yes}}}}

This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS.

Non-existent foreign article

[peusaneut asai]

On Wikipedia, links to non-existent pages Seunaleuëk:Em show as red links. However, this functionality only works within the Wikipedia site you're viewing. There is no way for this template, or any code on Wikipedia, to check whether an article on another language's Wikipedia exists. Links to all foreign-language articles, including non-existent foreign-language articles, show as blue links when constructed. For example, both [[:fr:Maman ne le sait pas|Maman ne le sait pas]]Maman ne le sait pas (exists) and [[:fr:no such article|no such article]]no such article (does not exist) display in the same blue color.

In other words, editors should take care to ensure the language codes they use actually correspond to an existing article; Seunaleuëk:Tlc does no one any good.

TemplateData

[peusaneut asai]
TemplateData documentation used by VisualEditor and other tools

Seunaleuëk:TemplateData header

Link to other Wikipedias or Wikidata if an article in the English Wikipedia doesn't exist.

Parameter templat

ParameterKeteranganJenisStatus
Article name1

Name of the English Wikipedia page, or suggested name if the page does not exist

Nama halamanwajib diisi
Link textlt

Text displayed for the link to the English Wikipedia article, if not the same as the article title. NOTE: this parameter begins with an lowercase "L", not an uppercase "i".

Bawaan
English Wikipedia article title
Barisdisarankan
1st language code2

Language code for the 1st page in another language (Note: the 1st language code is required, unless param 'qid' is present)

Barisdisarankan
1st page3

Title of the page in the 1st other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisdisarankan
2nd language code4

Language code for the 2nd page in another language

Barisopsional
2nd page5

Title of the page in the 2nd other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
3rd language code6

Language code for the 3rd page in another language

Barisopsional
3rd page7

Title of the page in the 3rd other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
4th language code8

Language code for the 4th page in another language

Barisopsional
4th page9

Title of the page in the 4th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
5th language code10

Language code for the 5th page in another language

Barisopsional
5th page11

Title of the page in the 5th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
6th language code12

Language code for the 6th page in another language

Barisopsional
6th page13

Title of the page in the 6th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
7th language code14

Language code for the 7th page in another language

Barisopsional
7th page15

Title of the page in the 7th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
8th language code16

Language code for the 8th page in another language

Barisopsional
8th page17

Title of the page in the 8th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
9th language code18

Language code for the 9th page in another language

Barisopsional
9th page19

Title of the page in the 9th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
10th language code20

Language code for the 10th page in another language

Barisopsional
10th page21

Title of the page in the 10th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
11th language code22

Language code for the 11th page in another language

Barisopsional
11th page23

Title of the page in the 11th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
12th language code24

Language code for the 12th page in another language

Barisopsional
12th page25

Title of the page in the 12th other language, if not the same as the English Wikipedia page

Bawaan
English Wikipedia article title
Barisopsional
Wikidata itemqid

Wikidata item of the article. Replaces links to pages in other languages. (Note: either the 'qid', or the 1st language code is required; pick one, but not both.)

Barisopsional
Short Wikidata link textshort s

If anything is set for this, Wikidata item link is displayed as 'd'

Kataopsional
Preservepreserve display

If anything is set for this, forces links to pages in other languages and projects to always display even if the English Wikipedia article exists

Kataopsional
No bold (or italic)nobold

Entering any value will force links to other-language pages, Wikidata and the interlanguage links to force non-bold and non-italic text.

Contoh
yes
Barisopsional
Italicizeitalic italics

If anything is set for this, puts italicization markup around the text to be linked, without including the inter-language links within the italics

Kataopsional
Vertical alignmentvertical-align valign v

Alters the position of language links from baseline, to superscript ('sup') or subscript ('sub') position. It can also prevent the font size of the language links from being reduced when used in infoboxes, by entering 'ib'.

Nilai yang disarankan
sup sub ib
Bawaan
baseline
Barisopsional
Quotequote quotes

If anything is set for this, puts double quotation marks around the text to be linked. The quotation marks won't be linked, and the inter-language links will be outside the quotation marks.

Nilai yang disarankan
yes
Kataopsional

Tracking categories

[peusaneut asai]

Merged here

[peusaneut asai]

After a merge discussion, five other templates were merged into this template, and thus this template contains all of their features.

See also

[peusaneut asai]

Seunaleuëk:Noteslist

  1. See the |qid= parameter. This functionality previously existed as its own separate template, {{ Interlanguage link Wikidata }}.
  2. Use |preserve= or its alias |display= to show the language links even if the English Wikipedia page exists. Using either parameter also eliminates the expensive parser function call. Cewbot will NOT convert this template into a regular link if either parameter is set. Cewbot will also not convert this template into a regular link if the English Wikipedia page exists but is a redirect back to the same page where the template appears; i.e. #Circular redirects.
Salah kutip: Ditemukan tanda <ref> untuk kelompok bernama "lower-alpha", tapi tidak ditemukan tanda <references group="lower-alpha"/> yang berkaitan