Template:Reflist: Difference between revisions
Template page
More actions
Content deleted Content added
correct my error per Template talk:Reflist#liststyle and group |
VE for some reason requires a div wrapping the references tag. 🤷 |
||
| (2 intermediate revisions by 2 users not shown) | |||
| 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> |
||