Jump to content

Template:Reflist: Difference between revisions

From Wikiversity
Content deleted Content added
Update list styling
m Protected "Template:Reflist": Highly visible template ([Edit=Custodians and curators only] (indefinite) [Move=Custodians and curators only] (indefinite))
 
(34 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<div class="reflist <!--
<templatestyles src="Reflist/styles.css" /><div class="reflist <!--
-->{{#if: {{{1|}}}
-->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!--
-->{{#switch:{{{liststyle|{{{group|}}}}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=reflist-{{{liststyle|{{{group}}}}}}}} <!--
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
-->{{#if:{{{1|}}}|{{#iferror:{{#ifexpr: {{{1|1}}} > 1 }}||{{#switch:{{{1|}}}|1=|2=reflist-columns-2|#default=reflist-columns-3}} }}}}" <!-- end class
| references-column-width
-->{{#if: {{{1|}}}<!-- start style -->
| references-column-count references-column-count-{{{1}}} }}
| {{#if: {{{colwidth|}}}
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} |style="column-width: {{{1}}};"}}
| references-column-width }} }}" style="<!--
| {{#if: {{{colwidth|}}}|style="column-width: {{{colwidth}}};"}}
}}>
-->{{#if: {{{1|}}}
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs }}<noinclude>
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
{{Documentation}}
| {{column-width|{{{1}}}}}
</noinclude>
| {{column-count|{{{1}}}}} }}
| {{#if: {{{colwidth|}}}
| {{column-width|{{{colwidth}}}}} }} }} list-style-type: <!--
-->{{{liststyle|{{#switch: {{{group|}}}
| lower-alpha
| lower-greek
| lower-roman = {{{group}}}
| #default = decimal}}}}};">
{{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude>
{{documentation}}</noinclude>

Latest revision as of 01:53, 27 May 2023