Jump to content

Template:Reflist/doc: Difference between revisions

From ModEnc²
en>桂月August
m Parameters description
m 8 revisions imported
 
(6 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
==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
|-
|-
| <code>1</code> or <code>content</code> || <code><nowiki><references /></nowiki></code> || Any syntactic strings || The references or any words you want to contained in the box.
| <code>1</code> or <code>content</code> || <code><nowiki><references /></nowiki></code> || Any syntactic strings || The 1st parameter without name or the parameter <code>content</code>. The references or any words you want to contained in the box.
|-
|-
| <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> || 200px || CSS <code>height</code> || Set the height of the box.
| <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:
N
This edit created a new page (also see list of new pages)
m
This is a minor edit
b
This edit was performed by a bot
(±123)
The page size changed by this number of bytes

22 November 2026

     14:34 User creation log User account JOIBroderick talk contribs was created

20 November 2026

     08:14 User creation log User account LisetteLassetter talk contribs was created

19 November 2026

     10:32 User creation log User account MarlaWills25902 talk contribs was created

18 November 2026

     23:20  (User creation log) [RosalineRaggatt; IeshaBrake4835]
     
23:20 User account IeshaBrake4835 talk contribs was created
     
04:30 User account RosalineRaggatt talk contribs was created

17 November 2026

     21:32  (User creation log) [SheriGoodisson; HildegardeCandel]
     
21:32 User account SheriGoodisson talk contribs was created
     
20:18 User account HildegardeCandel talk contribs was created

15 November 2026

     09:09 User creation log User account CamilleBeer27 talk contribs was created

14 November 2026

     15:29 User creation log User account MaricruzPonce talk contribs was created

12 November 2026

     22:24  (User creation log) [MorrisLoyd25853; LloydHeist9316; KrystleBrumfield; HaroldLingle242; DorcasSowell77; BradLangan; AdeleVenable10]
     
22:24 User account MorrisLoyd25853 talk contribs was created
     
21:55 User account HaroldLingle242 talk contribs was created
     
21:46 User account DorcasSowell77 talk contribs was created
     
20:25 User account BradLangan talk contribs was created
     
20:17 User account AdeleVenable10 talk contribs was created
     
19:31 User account KrystleBrumfield talk contribs was created
     
02:09 User account LloydHeist9316 talk contribs was created

11 November 2026

     17:28  (User creation log) [ThelmaBignold; AdrieneKillinger]
     
17:28 User account ThelmaBignold talk contribs was created
     
13:36 User account AdrieneKillinger talk contribs was created

10 November 2026

     22:29  (User creation log) [RoxanaHibner836; LinVyq686036; LTDJed21036115]
     
22:29 User account LinVyq686036 talk contribs was created
     
21:48 User account RoxanaHibner836 talk contribs was created
     
20:22 User account LTDJed21036115 talk contribs was created

9 November 2026

     19:58  (User creation log) [RashadPeachey; LaurieMcCasland]
     
19:58 User account RashadPeachey talk contribs was created
     
09:21 User account LaurieMcCasland talk contribs was created