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

Difference between revisions of "Template:Reflist/doc"

From ModEnc
Jump to: navigation, search
(Doc to introduce this template.)
 
m (Default value changed)
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
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;"
 +
! Parameters !! Default values !! Optional values !! Descriptions
 +
|-
 +
| <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>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 10: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

20 May 2024

     15:41  RatioTeamUnits‎ (diff | hist) . . Crimsonum (talk | contribs) (Updated.)
     15:40  RatioTeamInfantry‎ (diff | hist) . . Crimsonum (talk | contribs) (Updated.)
     15:39  RatioTeamAircraft‎ (diff | hist) . . Crimsonum (talk | contribs) (Updated.)
     15:34  RatioAITriggerTeam‎ (diff | hist) . . Crimsonum (talk | contribs) (Un-DeeZire'd)

     15:20 

Actions (maps)/RA2YR/050 099‎‎ (2 changes | history) . .

[Crimsonum‎ (2×)]

     

15:20

(cur | prev) . . Crimsonum (talk | contribs) (Action 76 description was misleading.)

     

15:03

(cur | prev) . . Crimsonum (talk | contribs) (Actions 77-79 are obsolete)

     15:20  Actions (maps)/TSFS/060 106‎ (diff | hist) . . Crimsonum (talk | contribs) (Action 76 description was misleading. Not sure about actions 77-79, updated them only a bit.)

16 May 2024

     23:07  Basic‎ (diff | hist) . . Crimsonum (talk | contribs) (Added CivEvac)

     21:35 

VariableNames‎‎ (2 changes | history) . .

[Crimsonum‎ (2×)]

     

21:35

(cur | prev) . . Crimsonum (talk | contribs) (Better looking tables)

     

21:34

(cur | prev) . . Crimsonum (talk | contribs) (Added information about hardcoded globals)

N    21:23  Local Variables‎ (diff | hist) . . Crimsonum (talk | contribs) (Redirected page to VariableNames)
N    21:22  Global variables‎ (diff | hist) . . Crimsonum (talk | contribs) (Redirected page to VariableNames)
     14:53  Internal Error‎ (diff | hist) . . Crimsonum (talk | contribs)