Jump to content

Template:Chunk: Difference between revisions

From Insurer Brain
Content deleted Content added
Deploy Template:Chunk (summary-page chunk/page provenance marker)
 
Deploy Template:Chunk (summary-page chunk/page provenance marker)
 
Line 3: Line 3:


Usage: {{chunk|doc=chq99br5nr|c=20|p=3}} — chunk/page provenance marker on a
Usage: {{chunk|doc=chq99br5nr|c=20|p=3}} — chunk/page provenance marker on a
summary page (doc_archive summary contract). Renders a right-floated mono
summary page (doc_archive summary contract). Renders a left-aligned mono
"[c. 20; p. 3]" where p. 3 links the Document: transcript's page anchor.
"[c. 20; p. 3]" alone on its line above the chunk heading, where p. 3 links
the Document: transcript's page anchor.
The primary marker (no cont) sets an id="<doc>-c<N>" anchor so the section
The primary marker (no cont) sets an id="<doc>-c<N>" anchor so the section
is deep-linkable; {{chunk|c=20|p=4|cont=1|doc=...}} is a provenance-only
is deep-linkable; {{chunk|c=20|p=4|cont=1|doc=...}} is a provenance-only

Latest revision as of 00:22, 20 July 2026

[c. {{{c}}}; [[Document:Template:Chunk#p{{{p}}}|p. {{{p}}}]]] This is the source of the wiki page Template:Chunk.

Usage: [c. 20; p. 3] — chunk/page provenance marker on a summary page (doc_archive summary contract). Renders a left-aligned mono "[c. 20; p. 3]" alone on its line above the chunk heading, where p. 3 links the Document: transcript's page anchor. The primary marker (no cont) sets an id="<doc>-c<N>" anchor so the section is deep-linkable; [c. 20; p. 4] is a provenance-only CONTINUATION marker (a chunk spanning several pages gets one per further page — no anchor, no new id). Emitted by tools/doc_archive/summary/render.py. Styling in MediaWiki:Common.css (.ed-chunk).