Template:Reflist/doc: Difference between revisions
Appearance
en>桂月August m Additions |
m 8 revisions imported |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
To use this template, type <code><nowiki>{{Reflist}}</nowiki></code> where you would normally type <code><nowiki><references/></nowiki></code>. | To use this template, type <code><nowiki>{{Reflist}}</nowiki></code> where you would normally type <code><nowiki><references/></nowiki></code>. | ||
==Parameters== | |||
{| class="wikitable" style="background-color: #FFFFFF00;" | {| class="wikitable" style="background-color: #FFFFFF00;" | ||
! Parameters !! Default values !! Optional values !! Descriptions | ! Parameters !! Default values !! Optional values !! Descriptions | ||
| Line 11: | Line 11: | ||
| <code>w</code> or <code>width</code> || 100% || CSS <code>width</code> || Set the width of the box. | | <code>w</code> or <code>width</code> || 100% || CSS <code>width</code> || Set the width of the box. | ||
|- | |- | ||
| <code>h</code> or <code>height</code> || | | <code>h</code> or <code>height</code> || 300px || CSS <code>height</code> || Set the max height of the box. | ||
|} | |} | ||
==Examples== | |||
;Code | |||
<pre> | |||
{{Reflist|{{:Special:RecentChanges|limit=500|days=15}}|h=400px}} | |||
</pre> | |||
;Result | |||
{{Reflist|{{:Special:RecentChanges|limit=500|days=15}}|h=400px}} | |||
Latest revision as of 21:22, 31 March 2025
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
List of abbreviations:
22 November 2026
20 November 2026
19 November 2026
18 November 2026
17 November 2026
15 November 2026
14 November 2026
12 November 2026
11 November 2026
10 November 2026
9 November 2026
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||