Template:Reflist: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (1 revision imported) |
(VE for some reason requires a div wrapping the references tag. 🤷) |
||
| Line 1: | Line 1: | ||
| − | <templatestyles src="Reflist/styles.css" /> |
+ | <templatestyles src="Reflist/styles.css" /><!-- |
| ⚫ | |||
| ⚫ | |||
| + | <nowiki/>}}<!-- |
||
| ⚫ | |||
| ⚫ | |||
| − | -->{{#if:{{{1|}}}|{{#iferror:{{#ifexpr: {{{1|1}}} > 1 }}||{{#switch:{{{1|}}}|1=|2=reflist-columns-2|#default=reflist-columns-3}} }}}}" <!-- end class |
||
| + | <div class="mw-references-wrap <!-- |
||
| − | -->{{#if: {{{1|}}}<!-- start style --> |
||
| − | + | -->{{#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}}} );"}} |
||
| − | }}> |
||
| ⚫ | |||
| ⚫ | |||
| + | }}>{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive=0}}</div> |
||
| + | | |
||
| + | <div><!-- VE for some reason requires a div wrapping the references tag. 🤷 --> |
||
| + | {{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive=1}}</div> |
||
| + | }}<!-- |
||
| + | -->{{#switch:{{{liststyle}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=</div>}}<!-- |
||
| ⚫ | |||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
||
Revision as of 08:08, 17 December 2025
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]