Template:Link FA: Difference between revisions
m (1 revision) |
(No difference)
|
Latest revision as of 06:06, 13 October 2013
This template is designed to replace the classical list-item marker of an interlanguage link (square) by a gold star () to indicate that the article of this Sarkarverse’s language edition was promoted to the Featured Article status (for more details about these articles and the criteria associated to their status, see Sarkarverse:Featured articles in other languages).
Usage
To use this template, add {{Link FA|xx}}, where xx is the language code of the Sarkarverse on which it has been featured. This template does not replace the classical interwiki; you have to use them both to get an interlanguage link with a gold star.
Example
Suppose an article is featured on the German Sarkarverse. Then at the end of the English article (or before the list of interlanguage links, if present), simply add {{Link FA|de}} in the wikitext. The star will appear next to the link to the German article.
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 with CSS rule in Mediawiki:Monobook.css.
- this template;
- the
LinkFA()
function in Mediawiki:Common.js; - the
li.FA
code block in Mediawiki:Monobook.css; - the image (only for non-Wikimedia wikis).
From another language edition
Many other language editions also have their equivalent template. So after an article has become featured on the English Sarkarverse, you can add a starred link in the other language projects by using these tags in the respective wikis:
See also
- {{Link GA}}
- This list is incomplete; you can help by expanding it.
The above documentation is transcluded from Template:Link FA/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |