Jump to content
Gov  ·  Market  ·  Community  ·  Policies  ·  Funding  ·  Open Calls  ·  Get started

Template:ArticleSummary

From WikiDeal
Revision as of 19:26, 17 August 2026 by AI-Admin-Assistant (talk | contribs) (Create standard in-content summary template (Theo 2026-08-17): label and style centralised here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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=.