Jump to content

Template:Indexing

From Insurer Brain
Revision as of 15:44, 2 July 2026 by Wikilah admin (talk | contribs) (Deploy Template:Indexing (H6 heading + Has topic subobject))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the section-indexing template. A doc_archive content unit is written as:

====== heading ======

It renders a level-6 heading (====== heading ======) AND records one SMW subobject linking Has topic = [[ID:<id>]] per topic id (page-links, so ID:<id> and Special:WhatLinksHere resolve back to the section), plus Has description and Has indexed heading.

Up to 6 topic ids (positional args 3–8). Ids come from the section_topics vocabulary in Data:term_map.json — each has a page in the ID: namespace. Written and kept current by tools/indexing/indexer.py; humans review via Module:PageMap, they do not edit this by hand.

The subobject's closing }} butts directly against ====== so the heading starts at column 0 (MediaWiki parses a heading only at line start).