Module:Hatnote list/doc

Revision as of 02:45, 28 January 2023 by Royken (talk | contribs) (Created page with "{{Documentation}} {{Wikipedia template}} '''Module:Hatnote list''' produces and formats lists for use in hatnotes. In particular, it implements the for-see list, i.e. lists of "For X, see Y" statements, as used in {{t|about}}, {{t|redirect}}, and their variants. Also introduced are andList & orList helpers for formatting lists with those conjunctions.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Hatnote list

Function list
L 34 — searchDisp
L 41 — stringifyList
L 75 — p.conjList
L 80 — p.andList
L 81 — p.orList
L 99 — punctuationCollapse
L 113 — p.forSeeArgsToTable
L 168 — p.forSeeTableToString
L 199 — p._forSee
L 205 — p.forSee

Module:Hatnote list produces and formats lists for use in hatnotes. In particular, it implements the for-see list, i.e. lists of "For X, see Y" statements, as used in {{about}}, {{redirect}}, and their variants. Also introduced are andList & orList helpers for formatting lists with those conjunctions.