Jump to content

Template:Reflist

From Ananta Wiki
Revision as of 18:59, 1 October 2025 by Taffy (talk | contribs) (Created page with "<noinclude> {{Documentation}} This template formats the references section for wiki articles. It displays all references defined with <ref> tags throughout the article. ==Usage== Place this template where you want the references to appear, typically in a "References" section at the end of an article: <pre> ==References== {{Reflist}} </pre> Or with columns for longer reference lists: <pre> ==References== {{Reflist|2}} </pre> ==Parameters== * '''1''' (optional) - Numb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation This template formats the references section for wiki articles. It displays all references defined with <ref> tags throughout the article.

Usage

Place this template where you want the references to appear, typically in a "References" section at the end of an article:

==References==
{{Reflist}}

Or with columns for longer reference lists:

==References==
{{Reflist|2}}

Parameters

  • 1 (optional) - Number of columns for the reference list (1, 2, or 3). Default is 1 column.
  • colwidth (optional) - Minimum column width (e.g., "30em"). Automatically adjusts number of columns based on screen width.
  • group (optional) - Display only references from a specific group.

Examples

Basic usage

==References==
{{Reflist}}

Two columns

==References==
{{Reflist|2}}

Responsive columns

==References==
{{Reflist|colwidth=30em}}

Grouped references

==Notes==
{{Reflist|group=note}}

==References==
{{Reflist}}

See also