yoohoo! hot sauce please
10:27, 7 September 2026 (UTC)
Template:Reflist: Difference between revisions
From 2swagg wiki
Jump to navigationJump to search
imported>Anomie VE for some reason requires a div wrapping the references tag. 🤷  |
No edit summary  |
||
| Line 1: | Line 1: | ||
<templatestyles src="Reflist/styles.css" /><!-- | <h2>{{#if:{{{custom header|}}}|{{{custom header|}}}|{{#switch:{{{group|}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=Notes|Chives}}}}</h2> | ||
-->{{#switch:{{{liststyle}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman= | <templatestyles src="Reflist/styles.css" /><div class="reflist <!-- | ||
-->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!-- | |||
-->{{#if:{{{1|}}} | -->{{#switch:{{{liststyle|{{{group|}}}}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=reflist-{{{liststyle|{{{group}}}}}}}} <!-- | ||
-->{{#if:{{{1|}}}|{{#iferror:{{#ifexpr: {{{1|1}}} > 1 }}||{{#switch:{{{1|}}}|1=|2=reflist-columns-2|#default=reflist-columns-3}} }}}}" <!-- end class | |||
-->{{#if: {{{1|}}}<!-- start style --> | |||
-->{{#if: {{{1|}}}<!-- start style | Â Â Â | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} |style="column-width: {{{1}}};"}} | ||
   | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} |style="column-width: |    | {{#if: {{{colwidth|}}}|style="column-width: {{{colwidth}}};"}} | ||
   | {{#if: {{{colwidth|}}}|style="column-width: |   }}> | ||
}}>{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive= | {{#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}}<noinclude>{{documentation}}</noinclude> | ||
{{# | |||
{{ | |||
</noinclude> | |||
Latest revision as of 11:31, 10 October 2026
Chives
This template uses TemplateStyles. Click here to edit.
Usage[edit source]
{{Reflist}}
Custom Heading[edit source]
{{Reflist|custom header=Snopes o algo}}
Description[edit source]
Adds a Citation header and all the references listed in the document. Should always be placed at the bottom of the article, above any footers.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Heading override | custom header | Overrides the header with one of your choosing. | String | optional |
| Group override | group | Deprecated. Use {{Notelist}} instead. If the article uses references with a named group (only lower-alpha is supported), the Reflist will be generated with the corresponding character set.
| String | deprecated |