Template:Reflist: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
Chalochatu (talk | contribs) Created page with "<div class="reflist <!-- -->{{#if: {{{1|}}} | columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | references-column-width | references-column-count references-..." |
Chalochatu (talk | contribs) m 1 revision imported |
(No difference)
| |
Revision as of 11:56, 9 June 2016
<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>.