More actions
Content deleted Content added
m 1 revision imported: importing from my great war wiki |
m Protected "Template:Reflist": many pages use this template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite) [Protect=Allow only administrators] (indefinite)) [cascading] |
||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
| #default = decimal}}}}};"> |
| #default = decimal}}}}};"> |
||
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs }}<noinclude> |
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs }}<noinclude> |
||
{{doc|{{Reflist/doc}}}} |
|||
{{Documentation}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 09:52, 2 July 2024
Template documentation
This citation template provides formatting and organizational features for footnotes. It encapsulates the <references />
tag used by the cite.php MediaWiki extension to show the list of references as defined by <ref>
tags. It adds support for a reduced font size, columns, groups.
If you don't use any of the additional features, then it produces the same output as the simpler and slightly faster <references />
tag.
Parameters
- First unnamed parameter:
- column-count: a natural number specifying fixed columns into which the reference list is to be rendered. Example:
|2|
. - column-width: a typographic unit of measurement such as em, specifying the width for the reference list columns. Example:
|30em|
.
- refs: used with named references (e.g.,
<ref name=name />
); it specifies a list of some or all named references used in the article. - group: identifies by name the subset of references to be rendered; the value should correspond to that used inline, e.g., {{Reflist|group=groupname}} renders all references with groupname as the group name (
<ref>
). - liststyle: specifies the style used when the reference list is enumerated; if none is specified, the default is to render a numbered list.
Example
Lorem.<ref>ipsum</ref><ref>dolor</ref><ref>sit</ref><ref>amet</ref> Consectetur.<ref>adipisicing</ref><ref>elit, sed</ref><ref>do</ref> {{Reflist|3}}
gives:
Lorem.[1][2][3][4] Consectetur.[5][6][7]
See also
- {{column-count}}
- {{column-width}}
The above documentation is transcluded from Template:Reflist/doc.