This template is designed to replace the classical list-item marker of an interlanguage link (square) by a gold star () 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).

ഉപയോഗക്രമം തിരുത്തുക

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.

ഉദാഹരണം തിരുത്തുക

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.

പ്രവർത്തനരീതി തിരുത്തുക

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 with CSS rule in Mediawiki:Monobook.css.

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

What to transfer to another wiki
  1. this template;
  2. the LinkFA() function in Mediawiki:Common.js;
  3. the li.FA code block in Mediawiki:Monobook.css;
  4. the image (only for non-Wikimedia wikis).

Acknowledgements തിരുത്തുക

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



"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Link_FA/വിവരണം&oldid=4023131" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്