ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "Template:Reflist"
From ModEnc
(New templates) |
m (Change default value) |
||
Line 1: | Line 1: | ||
− | <includeonly><table cellpadding="0" cellspacing="0" border="0" style="width: {{{width|{{{w|100%}}}}}}; margin-bottom: 8px; margin-top: 0px;"><tr><td style="background:transparent;"><div class="references-small" style="overflow: auto; height: auto; border: 1px solid #333333; max-height:{{{height|{{{h| | + | <includeonly><table cellpadding="0" cellspacing="0" border="0" style="width: {{{width|{{{w|100%}}}}}}; margin-bottom: 8px; margin-top: 0px;"><tr><td style="background:transparent;"><div class="references-small" style="overflow: auto; height: auto; border: 1px solid #333333; max-height:{{{height|{{{h|300px}}}}}}; background: transparent; padding: 2px 6px 2px 1px;">{{{1|{{{content|<references />}}}}}}</div></td><td style="width:5px;"></td></tr></table></includeonly><noinclude> |
{{Doc}}<!--[[Category:General wiki templates|{{PAGENAME}}]]--></noinclude> | {{Doc}}<!--[[Category:General wiki templates|{{PAGENAME}}]]--></noinclude> |
Latest revision as of 10:48, 25 August 2021
This document transclude from Template:Reflist/doc.
Contents
This template is used to create a reference list in small font for an article. Note that there is no consensus that small font size should always be used for all references; when normal-sized font is more appropriate on an article, use <references />
instead.
To use this template, type {{Reflist}}
where you would normally type <references/>
.
Parameters
Parameters | Default values | Optional values | Descriptions |
---|---|---|---|
1 or content |
<references /> |
Any syntactic strings | The 1st parameter without name or the parameter content . The references or any words you want to contained in the box.
|
w or width |
100% | CSS width |
Set the width of the box. |
h or height |
300px | CSS height |
Set the max height of the box. |
Examples
- Code
{{Reflist|{{:Special:RecentChanges|limit=500|days=15}}|h=400px}}
- Result
16 May 2024
|