Template:TFAFULL/doc
| icon | This is a documentation subpage for Template:TFAFULL. It may contain usage information, categories and other content that is not part of the original template page. |
| File:Lua-Logo.svg | This template uses Lua: |
| File:Cascade-protection-shackle.svg | This template can only be edited by administrators because it is transcluded onto one or more cascade-protected pages. |
Template:WP:Article alerts/Bot use warning
Usage
[edit source]This template creates a bracketed, italicized sentence that links to the featured article and any related featured topics at the end of TFA blurbs. It has five parameters and is fully protected because it is used continuously on the Main Page.
The |article= or |1= parameter is required. Its value should be the title of the featured article. For example, {{TFAFULL|Bird}} produces (Full article...).
The |topic1= or |2= parameter is used for the first featured topic. For example, {{TFAFULL|Anfield|Liverpool F.C.}} produces (This article is part of a featured topic: Liverpool F.C.).
The |topic2= or |3= parameter is used for the second featured topic. For example, {{TFAFULL|New York State Route 28N|State highways in Hamilton County, New York|New York State Route 28}} produces (This article is part of two featured topics: State highways in Hamilton County, New York and New York State Route 28.).
The |topic1text= or |4= parameter is used for the display text of the first featured topic. For example, {{TFAFULL|Freedom of Speech|topic1=Four Freedoms|topic1text=''Four Freedoms''}} produces (This article is part of a featured topic: Four Freedoms.).
The |topic2text= or |5= parameter is used for the display text of the second featured topic. For example, {{TFAFULL|1989 (album)|topic1=Taylor Swift original studio albums|topic2=1989 (album)|topic2text=''1989'' (album)}} produces (This article is part of two featured topics: Taylor Swift original studio albums and 1989 (album).).
The fourth and fifth parameters have inverted italics using {{#invoke:Invert italics|main}}.
TemplateData
[edit source]Produces a bracketed italicized sentence at the end of TFA blurbs that links to the article
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| article | article 1 | The name of the featured article
| Line | required |
| topic1 | topic1 2 | The first featured topic that the article is part of
| Line | optional |
| topic2 | topic2 3 | The second featured topic that the article is part of
| Line | optional |
| topic1text | topic1text 4 | The display text of the first featured topic with italics inverted
| Line | optional |
| topic2text | topic2text 5 | The display text of the second featured topic with italics inverted
| Line | optional |