Template:Featured List subsection/sandbox
This is the template sandbox page for Template:Featured List subsection (diff). |
Usage
[edit]Place exactly one Featured List link on each line inside the template.
Optionally, include the parameter |title=
, which will place a title line directly above the list, and fixing the extra padding that would otherwise exist between text and the list that does not happen between a section header and the list.
Examples
[edit]Subsection with multiple lists
[edit]{{Featured List subsection| * [[a]] * [[b]] * [[c]] }}
Subsection with one list
[edit]{{Featured List subsection| * [[a]] }}
- a (1 list)
Subsection with title
[edit]{{Featured List subsection|title=''styled text:''| * [[a]] * [[b]] * [[c]] }}
styled text:
Purpose
[edit]This template is used with each Featured List subtopic list that should get its own count. The template automates the count given in each section (the number in (85 lists)
), and adds the dot ( ·
) between each entry. Both of these tasks were previously done manually or with more awkward templates: they were tedious, involving copy/pasting, and updating the count was often forgotten.
Forked in January 2020 from {{Good Article subsection}} shortly after creation.