Template:Reflist/doc
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
This is a documentation subpage for Template:Reflist.
It contains usage information, categories and other content that is not part of the original template page.
It contains usage information, categories and other content that is not part of the original template page.
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}}
- Example:
|refs=
– Allows manually added references.- Example:
{{Reflist|refs=<ref>Extra reference</ref>}}
- Example:
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