Template:Reflist: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(go live with tstyles reflist) |
m (1 revision imported) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <templatestyles src="Reflist/styles.css" /> |
+ | <templatestyles src="Reflist/styles.css" /><!-- |
| ⚫ | |||
| ⚫ | |||
| + | <nowiki/>}}<!-- |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| + | <div class="mw-references-wrap <!-- |
||
| − | -->{{#if:{{{1|}}}{{{colwidth|}}}{{{liststyle|}}}|<!-- start style |
||
| ⚫ | |||
| − | -->style="{{#if: {{{1|}}} |
||
| + | -->{{#if: {{{1|}}}<!-- start style. The multiplication by 0.9 is for [[hysterical raisins]]. --> |
||
| − | | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} |column-width: {{{1}}};}} |
||
| − | | {{# |
+ | | {{#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> |
|
| + | | |
||
| − | -->}}> |
||
| + | <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> |
||
Latest revision as of 22:05, 3 May 2026
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]