Nodyn:Link FA

Oddi ar Wicipedia
(Ailgyfeiriad oddi wrth Nodyn:Cyswllt erthygl ddethol)
Neidio i: llywio, chwilio

Documentation icon Dogfennaeth nodyn[gweld] [golygu] [hanes] [puro]

This template is designed to replace the classical list-item marker of an interlanguage link (square) by a gold star (Monobook-bullet-star.png) to indicate that 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[golygu | golygu cod y dudalen]

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[golygu | golygu cod y dudalen]

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, just like the link to the Afrikaans version of this template.

Mechanism[golygu | golygu cod y dudalen]

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[golygu | golygu cod y dudalen]

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
Afrikaans af {{Link FA|en}}
Albanian sq {{Link FA|en}}
Alemannic als {{LinkFA|en}}
Amharic am {{Link FA|en}}
Aragonese an {{Destacato|en}}
Arabic ar {{Link FA|en}}
Azerbaijani az {{Link FA|en}}
Austro-Bavarian bar {{Link FA|en}}
Bulgarian bg {{Link FA|en}}
Bengali bn {{Link FA|en}}
Brezhoneg br {{Liamm PuB|en}}
Bosnian bs {{Link FA|en}}
Catalan ca {{Enllaç AD|en}}
Czech cs {{Link FA|en}}
Danish da {{Link FA|en}}
German de {{Link FA|en}}
Lower Sorbian dsb {{Link FA|en}}
Greek el {{Link FA|en}}
Esperanto eo {{LigoElstara|en}}
Spanish es {{Destacado|en}}
Estonian et {{Link FA|en}}
Basque eu {{NA lotura|en}}
Persian fa {{Link FA|en}}
Finnish fi {{Link FA|en}}
Faroese fo {{Link FA|en}}
French fr {{lien AdQ|en}}
Irish ga {{Nasc AR|en}}
Galician gl {{Link FA|en}}
Hebrew he {{Link FA|en}}
Croatian hr {{Link FA|en}}
Upper Sorbian hsb {{Link FA|en}}
Haitian ht {{Link FA|en}}
Hungarian hu {{Link FA|en}}
Interlingua ia {{Link FA|en}}
Indonesian id {{Link FA|en}}
Ido io {{Link FA|en}}
Icelandic is {{Tengill ÚG|en}}
Italian it {{Link V|en}}
Japanese ja {{Link FA|en}}
Georgian ka {{Link FA|en}}
Kazakh kk {{Link FA|en}}
Khmer km {{Link FA|en}}
Korean ko {{Link FA|en}}
Latin la {{Link FA|en}}
Luxembourgish lb {{Link FA|en}}
Lithuanian lt {{Link FA|en}}
Latvian lv {{Link FA|en}}
Macedonian mk {{Link FA|en}}
Malayalam ml {{Link FA|en}}
Marathi mr {{Link FA|en}}
Nahuatl nah {{Link FA|en}}
Dutch nl {{Link FA|en}}
Nynorsk nn {{Link FA|en}}
Norwegian (Bokmål) no {{Link UA|en}}
Ossetian os {{Link FA|en}}
Punjabi pa {{Link FA|en}}
Polish pl {{Link FA|en}}
Portuguese pt {{Link FA|en}}
Romanian ro {{Legătură AC|en}}
Romanish rm {{Link FA|en}}
Russian ru {{Link FA|en}}
Serbo-Croatian sh {{Link FA|en}}
Simple English simple {{Link FA|en}}
Slovak sk {{Link FA|en}}
Slovene sl {{Link FA|en}}
Serbian sr {{Link FA|en}}
Swedish sv {{Link FA|en}}
Swahili sw {{Link FA|en}}
Tamil ta {{Link FA|en}}
Telugu te {{Link FA|en}}
Thai th {{Link FA|en}}
Tagalog tl {{Link FA|en}}
Turkish tr {{Link FA|en}}
Ukrainian uk {{Link FA|en}}
Venetian vec {{Link FA|en}}
Vietnamese 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}}
Chinese zh {{Link FA|en}}
Classical Chinese zh-classical {{Link FA|en}}
Min Nan zh-min-nan {{Link FA|en}}
Yue zh-yue {{Link FA|en}}

See also[golygu | golygu cod y dudalen]