شابلون:Link FA

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

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

This template is designed to replace the classical list-item marker of an interlanguage link (square) by a gold star (Monobook-bullet-star.png) in order to indicate the article of this Wikipedia’s language edition was promoted to the Featured Article status (for more details about these articles and the criteria associated to their status, see Wikipedia:Featured articles in other languages).

Usage[دچی‌ین]

To use this template, add {{Link FA|xx}}, where xx is the language code of the Wikipedia on which it has been featured. This template doesn't replace the classical interwiki, you have to use them both to get an interlanguage link with a gold star.

Example[دچی‌ین]

Suppose Flimble is a featured article on the German Wikipedia. Then before the list of interlanguage links ([[de:Flimble]]), simply add {{Link FA|de}} in the wikitext. If you're using the monobook skin, the star will appear next to the de: link.

Mechanism[دچی‌ین]

It works by creating an invisible span with id=interwiki-lang-fa where lang is a specific language code. Function LinkFA() in Mediawiki:Common.js recognizes this invisible span and adds a special FA class to the corresponding interwiki link. All interwiki links with FA class are given a special bullet Monobook-bullet-star.png with CSS rule in Mediawiki:Monobook.css.

The star is displayed only if the skin used is MonoBook (default).

From another language edition[دچی‌ین]

Many other language editions also have their equivalent template. So after an article has become featured on the English Wikipedia, you can add a starred link in the other language projects by using these tags in the respective wikis:

Language Lang. code Wikitext
عربی ar {{Link FA|en}}
آذربایجانی az {{Link FA|en}}
Български bg {{Link FA|en}}
Brezhoneg br {{Liamm PuB|en}}
بوسنیایی bs {{Link FA|en}}
Catalan ca {{Enllaç AD|en}}
Czech cs {{Link FA|en}}
Danish da {{Link FA|en}}
زبان یونانی el {{Link FA|en}}
اسپانیایی es {{Destacado|en}}
Esperanto eo {{LigoElstara|en}}
Basque eu {{NA lotura|en}}
فارسی fa {{Link FA|en}}
Finnish fi {{Link FA|en}}
فرانسوی fr {{lien AdQ|en}}
زبان آلمانی de {{Link FA|en}}
Hebrew he {{Link FA|en}}
مجارستانی hu {{Link FA|en}}
Interlingua ia {{Link FA|en}}
Icelandic is {{Tengill ÚG|en}}
ایتالیایی it {{Link AdQ|en}}
ژاپنی ja {{Link FA|en}}
Georgian ka {{Link FA|en}}
Kazakh kk {{Link FA|en}}
Khmer km {{Link FA|km}}
کره‌ای ko {{Link FA|en}}
لاتین la {{Link FA|en}}
Latvian lv {{Link FA|en}}
Nahuatl nah {{Link FA|en}}
Dutch nl {{Link FA|en}}
نروژی no {{Link UA|en}}
Ossetian os {{Link FA|en}}
لهستانی pl {{Link FA|en}}
پرتغالی pt {{Link FA|en}}
رومانیایی ro {{Legătură AF|en}}
روسی ru {{Link FA|en}}
صربی sr {{Link FA|en}}
انگلیسی ساده sr {{Link FA|en}}
Slovene sl {{Link FA|en}}
Swedish sv {{Link FA|en}}
Tamil ta {{Link FA|en}}
تایلندی th {{Link FA|en}}
Tagalog tl {{Link FA|en}}
ترکی tr {{Link FA|en}}
Venetian vec {{Link FA|en}}
ویتنامی vi {{Liên kết chọn lọc|en}}
Volapük vo {{Yüm YG|en}}
Yiddish yi {{Link FA|en}}
Yoruba yo {{Link FA|en}}
چینی zh {{Link FA|en}}

Acknowledgements[دچی‌ین]

This cute trick was shamelessly stolen from the French Wikipedia; it is also used on the Italian wikipedia.