ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:Reflist/doc: Difference between revisions

From ModEnc
Jump to navigation Jump to search
m Parameters description
m Default value changed
 
(5 intermediate revisions by the same 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 08:49, 25 August 2021

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 2024

15 November 2024

     12:11 User creation log User account IndianaBatchelor talk contribs was created ‎

13 November 2024

11 November 2024

 m   06:15  IsGattling diffhist Testid123 talk contribs
 m   06:08  Report diffhist Testid123 talk contribs

10 November 2024

 m   15:37  IsGattling‎‎ 7 changes history [Testid123‎ (7×)]
 m   
15:37 (cur | prev) Testid123 talk contribs
 m   
15:23 (cur | prev) Testid123 talk contribs
 m   
15:20 (cur | prev) Testid123 talk contribs
 m   
15:07 (cur | prev) Testid123 talk contribs
 m   
15:06 (cur | prev) Testid123 talk contribs
 m   
15:01 (cur | prev) Testid123 talk contribs
 m   
14:58 (cur | prev) Testid123 talk contribs
 m   14:26  Explosion diffhist Testid123 talk contribs