Template:Reflist: Difference between revisions
Jump to navigation
Jump to search
1>Shizhao |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<div class="reflist <!-- | <templatestyles src="Reflist/styles.css" /><div class="reflist <!-- | ||
-->{{#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>{{#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> | |||
| {{#if: {{{colwidth|}}} | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 12:17, 23 April 2025
<templatestyles src="Reflist/styles.css" />
1 }}||{{#switch:|1=|2=reflist-columns-2|#default=reflist-columns-3}} }}}}" {{#if:
| {{#iferror: {{#ifexpr: 1 > 1 }} |style="column-width: {{{1}}};"}} | {{#if: |style="column-width: {{{colwidth}}};"}} }}><references group="" responsive="{{#if:|0|1}}"></references>
{{#invoke:Check for unknown parameters|check|unknown={{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }}
| main = | other | #default = }}|preview=Page using Template:Reflist with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs }} Template:Documentation