Difference between revisions of "Template:Reflist"
imported>Nickj (Just copied this from Wikipedia. Hope it works.) |
imported>Edokter (fix pre-space bug) |
||
Line 3: | Line 3: | ||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | ||
| references-column-width | | references-column-width | ||
− | | references-column-count references-column-count-{{{1}}} }} | + | | references-column-count references-column-count-{{#if:1|{{{1}}}}} }} |
| {{#if: {{{colwidth|}}} | | {{#if: {{{colwidth|}}} | ||
| references-column-width }} }}" style="<!-- | | references-column-width }} }}" style="<!-- | ||
-->{{#if: {{{1|}}} | -->{{#if: {{{1|}}} | ||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | ||
− | | {{column-width|{{{1}}}}} | + | | {{column-width|{{#if:1|{{{1}}}}}}} |
− | | {{column-count|{{{1}}}}} }} | + | | {{column-count|{{#if:1|{{{1}}}}}}} }} |
| {{#if: {{{colwidth|}}} | | {{#if: {{{colwidth|}}} | ||
− | | {{column-width|{{{colwidth}}}}} }} }}"> | + | | {{column-width|{{{colwidth}}}}} }} }} list-style-type: <!-- |
+ | -->{{{liststyle|{{#switch: {{{group|}}} | ||
+ | | upper-alpha | ||
+ | | upper-roman | ||
+ | | lower-alpha | ||
+ | | lower-greek | ||
+ | | lower-roman = {{{group}}} | ||
+ | | #default = decimal}}}}};"> | ||
{{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude> | {{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |