Template:Reflist/sandbox

From Chalo Chatu, Zambia online encyclopedia
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