Template:Reflist: Difference between revisions
From KB42
Created page with "<includeonly><div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}}; {{#if:{{{2|}}}|font-size:{{{2}}}|font-size:90%}}| style="font-size:90% }};" | style="font-size:90%;"}}> {{#tag:references|{{{refs}}}|group={{{group|}}}}}</div></includeonly><noinclude> {{Document..." |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <templatestyles src="Reflist/styles.css" /><div class="reflist <!-- | ||
{{#tag:references|{{{refs}}}|group={{{group|}}}}} | -->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!-- | ||
{{ | -->{{#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 --> | |||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} |style="column-width: {{{1}}};"}} | |||
| {{#if: {{{colwidth|}}}|style="column-width: {{{colwidth}}};"}} | |||
}}> | |||
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div> | |||
Latest revision as of 13:59, 22 July 2024
Page Template:Reflist/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "wikitext").
