Template:Reflist/sandbox

From Chalo Chatu, Zambia online encyclopedia
Revision as of 06:13, 3 September 2025 by Chalochatu (talk | contribs) (Created page with "{{Documentation subpage}} == Usage == This template displays a list of references (footnotes) defined by the <code><nowiki><ref></nowiki></code> tags in an article. Place <code><nowiki>{{Reflist}}</nowiki></code> at the end of a section or at the end of an article to automatically generate a references list. === Example === <syntaxhighlight lang="wikitext"> This is a statement.<ref>Zambia Daily Mail, 2024</ref> Another statement.<ref>Times of Zambia, 2023</ref> == Re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Usage

This template displays a list of references (footnotes) defined by the <ref> tags in an article.

Place {{Reflist}} at the end of a section or at the end of an article to automatically generate a references list.

Example

This is a statement.<ref>Zambia Daily Mail, 2024</ref>
Another statement.<ref>Times of Zambia, 2023</ref>

== References ==
{{Reflist}}

This will produce:

This is a statement.[1] Another statement.[2]

References


Parameters

  • |colwidth= – Sets the minimum width of reference columns.
    • Example: {{Reflist|colwidth=30em}}
  • |refs= – Allows manually added references.
    • Example: {{Reflist|refs=<ref>Extra reference</ref>}}

Notes

  • On Chalo Chatu, the template uses simplified CSS styling controlled through MediaWiki:Common.css.
  • For complex layouts, editors should use <references /> directly.
  • Make sure every reference is properly formatted with <ref> and </ref>.

See also