Template:Reflist: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Chalochatu (talk | contribs) m 1 revision imported |
Chalochatu (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="reflist {{#if:{{{col|}}}|reflist-columns}}"> | |||
</div><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 06:16, 3 September 2025
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
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>.