This is a documentation subpage for Template:FA inline. It may contain usage information, categories and other content that is not part of the original template page. |
{{FA inline}} (alias {{FC inline}}) is an inline Featured Content template, for use in user- and project-space lists of articles (or images, or whathaveyou). {{FL inline}} is a wrapper that defaults to linking to Wikipedia:Featured lists rather than Wikipedia:Featured articles.
Usage
editIt can be used just to generate the FA icon with a link to Wikipedia:Featured articles, and can also be given parameters to name the article (or list or whatever), to specify the time of featured content, and/or to give the date of promotion to FA (FL, etc.).
Parameters
edit|1=
a.k.a.|article=
(or first unnumbered parameter) – The name of the article; it will be linked for you.|2=
a.k.a.|date=
(or second unnumbered parameter) – The date of promotion to Featured, in whatever format is preferred|3=
a.k.a.|type=
(or third unnumbered parameter) – The type of featured content; must be the last word of the link to the FC page in question, and defaults toarticles
for Wikipedia:Featured articles. As of this writing, other valid values are:lists
,pictures
,portals
, andtopics
.
Examples
editCode | Result |
---|---|
{{FA inline}}
|
|
{{FA inline|Attack of the Killer Tomatoes}}
|
Attack of the Killer Tomatoes |
{{FA inline|Attack of the Killer Tomatoes|1 January 2020}}
|
Attack of the Killer Tomatoes, promoted on 1 January 2020 |
[[Attack of the Killer Tomatoes]] {{FA inline|date=2020-01-01}}
|
Attack of the Killer Tomatoes , promoted on 2020-01-01 |
{{FC inline|List of cat breeds|January 1, 2020|lists}}
|
List of cat breeds, promoted on January 1, 2020 [Note where the icon now links.] |
See also
edit- {{GA inline}}, same but for Good Articles.