Difference between revisions 126179 and 145636 on aswiki<noinclude>{{documentation subpage}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT --> __NOTOC__ This template is designed to replace the classical list-item marker of an interlanguage link (square) by a gold star ([[Image:monobook-bullet-star.png]]) in order to indicate the article of this Wikipedia’s language edition was promoted to the Featured List status. ==Usage== To use this template, add <nowiki>{{Link FL|xx}}</nowiki>, 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 list on the German Wikipedia. Then before the list of interlanguage links (<nowiki>[[de:Flimble]]</nowiki>), simply add <nowiki>{{Link FL|de}}</nowiki> 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 <code>id=interwiki-''lang''-fa </code> where ''lang'' is a specific language code. Function <tt>LinkFA()</tt> in [[Mediawiki:Common.js]] recognizes this invisible span and adds a special <tt>FL</tt> class to the corresponding interwiki link. All interwiki links with <tt>FA</tt> class are given a special bullet [[Image:Monobook-bullet-star.png]] with CSS rule in [[Mediawiki:Monobook.css]]. (Yes, this template piggybacks on the [[Template:Link FA|Link FA]]-template and just exists as an own template in order to be easier to maintain without having to re-code maintaining bots) The star is displayed only if the skin used is MonoBook (default). ==From another language edition== Right now, this template is new, so very few other language editions have an equivalent template. So after a list 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 (once the feature becomes available): {| class="toccolours sortable" ! style="background:#c0c090" | Language ! style="background:#c0c090" | Lang. code ! style="background:#c0c090" | Wikitext |- | German ({{#language:de}}) || de || [[:de:Vorlage:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |-⏎ | Persian ({{#language:fa}}) || fa || [[:fa:الگو:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |- | Finnish ({{#language:fi}}) || fi || [[:fi:Malline:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |- | Japanese ({{#language:ja}}) || ja || [[:ja:Template:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |- | Norwegian (bokmål) ({{#language:no}}) || no || [[:no:Mal:Link GL|<nowiki>{{Link GL|no}}</nowiki>]] |- | Polish ({{#language:pl}}) || pl || [[:pl:Szablon:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |- | Portuguese ({{#language:pt}}) || pt || [[:pt:Predefinição:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |- | Russian ({{#language:ru}}) || ru || [[:ru:Шаблон:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |-⏎ | Swedish ({{#language:sv}}) || sv || [[:sv:Mall:Link FL|<nowiki>{{Link FL|en}}</nowiki>]] |- |} {{tl|listdev}} <includeonly> <!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. --> [[Category:Wikipedia featured content templates|{{PAGENAME}}]] [[Category:Wikipedia formatting and function templates|{{PAGENAME}}]] <!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --> [[no:Mal:Link GL]]⏎ </includeonly> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://as.wikipedia.org/w/index.php?diff=prev&oldid=145636.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|