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 (Parameters description)
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 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> || 200px || CSS <code>height</code> || Set the height of the box.
 +
|}

Revision as of 12:25, 23 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 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 200px CSS height Set the height of the box.