Template:Reflist

Usage

Lua-free reimplementation of Wikipedia's {{reflist}}. Upstream's core behaviour here is CSS-driven, not Lua-driven, so this covers it directly rather than needing a workaround.

{{reflist}}
{{reflist|30em}}
{{reflist|2}}
{{reflist|group=note}}

The first unnamed parameter sets column layout: a bare small number (19) is treated as a fixed column count; anything else (e.g. 25em, 30em, 35em) is treated as a CSS column-width value, matching how it's used across existing Politicalsg articles. Defaults to 30em if omitted. |group= is forwarded to the underlying <references /> tag for grouped footnotes (e.g. explanatory notes separate from citations).

Deviations from the Wikipedia original:

  • No |refs= support — upstream lets you define a reference list here that populates <ref name="x" /> calls scattered through the article body ("list-defined references"). Not built, since no article on this wiki currently uses that pattern; all refs are inline. Extend this template if that changes.
  • No |liststyle= or manual list-numbering-style overrides.
  • Styled with inline CSS rather than relying on a site-wide .reflist class, for the same reason as Template:See also — guarantees correct rendering even if MediaWiki:Common.css never defines one.