الگو:Ill

از ویکی‌پدیا، دانشنامهٔ آزاد
پرش به: ناوبری، جستجو

[[{{{2}}}]] ([[:{{{1}}}:{{{2}}}|{{{1}}}]])

نماد توضیحات توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

This template temporarily displays a link to a non-English Wikipedia article, while the corresponding English-language Wikipedia article is lacking ("a red link"). The red-link is explicitly shown, followed by the non-English link. Once the English article is created, the non-English link wont' be shown.

The template name ill stands for InterLanguage Link.

Parameters[ویرایش]

The template accepts two or three unnamed parameters:

  1. (required) interwiki language code, i.e. fr, bg, no, nl, etc. (see فهرست ویکی‌پدیاها)
  2. (required) name of article in English-language Wikipedia
  3. (optional) name of article in non-English Wikipedia, if different than above

Usage[ویرایش]

When article names would be the same in English and foreign language Wikipedia:

When article names is different in English and foreign language Wikipedia:

  • Usage: {{ill|bg|Parlichevo|Пърличево}}
  • Result: Parlichevo (bg)

When the English article is created, the other language link won't be shown:

Piped links[ویرایش]

In some cases the English Wikipedia might use a piped link:

  • Example: [[Rangel, Angola|Rangel]]
  • Result: Rangel

The template can create the same link shown above by using the {{!}} template:

  • Usage: {{ill|pt|Rangel, Angola{{!}}Rangel|Rangel (Angola)}}
  • Result: Rangel (pt)

See also[ویرایش]

Any language:

  • {{ill2}} - similar template allowing links to more than one non-English Wikipedia
  • {{belg2}} - similar template
  • {{link-interwiki}} - similar but clumsier template; parameters are named.

Language specific: