Template:ArticleSummary
Appearance
This is the latest revision of this page; it has no approved revision.
Summary{{{1}}}
Documentation
This template renders the standard WikiDeal in-content summary box (a manual table of contents visible in the article body on every skin, desktop and mobile). The label ("Summary") and the box style are defined here and only here: changing them in this template updates every page that uses it. Pages pass only the list of entries.
Usage
Place the template at the standard spot: after the intro boxes ({{KidsIntro}} and {{ExpertIntro}}), before the first heading.
{{ArticleSummary|
* [[#anchor-1|Title 1]]
* [[#anchor-2|Title 2]]
}}
Rules
- One bullet per H2 chapter, in page order (including State of the art and See also when present).
- Each target must be an explicit anchor placed just before the heading:
<span id="slug"></span>(more robust than linking the heading text, which breaks if the title changes). - This template does not include __NOTOC__. Pages add __NOTOC__ themselves when the native table of contents must be suppressed.
- If an entry text contains an equals sign, pass the list as
1=.