Template:Reflist: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<templatestyles src="Reflist/styles.css" /><!-- | <templatestyles src="Reflist/styles.css" /><!-- | ||
-->{{#switch:{{{liststyle}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=<div class="reflist-liststyle-{{{liststyle}}}"> | -->{{#switch:{{{liststyle}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=<div class="reflist-liststyle-{{{liststyle}}}"> | ||
<nowiki/>}} | <nowiki/>}}<!-- | ||
-->{{#if:{{{1|}}}{{{colwidth|}}}| | |||
<div class="mw-references-wrap <!-- | |||
-->{{#iferror:{{#ifexpr: {{{1|}}} > 1 }}|mw-references-columns|{{#switch:{{{1|}}}|1=|2=mw-references-columns reflist-columns-2|#default=mw-references-columns reflist-columns-3}} }}" <!-- end class | |||
-->{{#if: {{{1|}}}<!-- start style. The multiplication by 0.9 is for [[hysterical raisins]]. --> | |||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} |style="column-width: calc( 0.9 * {{{1}}} );"}} | |||
| {{#if: {{{colwidth|}}}|style="column-width: calc( 0.9 * {{{colwidth}}} );"}} | |||
}}>{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive=0}}</div> | |||
Revision as of 08:51, 15 April 2026
{{#if:|