Template:Reflist: Difference between revisions
From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
Cheeselord (talk | contribs) No edit summary |
m (Protected "Template:Reflist": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>=={{# | <includeonly> | ||
=={{#if:{{{custom header|}}}|{{{custom header|}}}|{{#switch:{{{group|}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=Notes|Citations}}}}== | |||
<templatestyles src="Reflist/styles.css" /><div class="reflist <!-- | <templatestyles src="Reflist/styles.css" /><div class="reflist <!-- | ||
-->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!-- | -->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!-- | ||
Line 8: | Line 9: | ||
| {{#if: {{{colwidth|}}}|style="column-width: {{{colwidth}}};"}} | | {{#if: {{{colwidth|}}}|style="column-width: {{{colwidth}}};"}} | ||
}}> | }}> | ||
{{#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 }}</includeonly><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 | custom header}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:17, 27 May 2023
Generates a Citation header and all the references listed in the document
Usage
{{reflist}}
If the article uses references with a named group (only lower-alpha is currently supported), a reflist with the corresponding characters can be made with
{{reflist|group=group_name}}A custom header can be used with the parameter
custom header
{{reflist|custom header=Header Name}}