Jump to content

Template:Reflist: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
attempt copy of WP
m 1 revision
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="reflist references-small <!--
<div class="reflist <!--
  -->{{#if: {{{1|}}}
  -->{{#if: {{{1|}}}
     | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
     | columns {{#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}}
<!--<div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}} }}};" |}}>
</noinclude>
<references /></div>-->

Latest revision as of 06:43, 25 January 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

Use this template to create a reference list in an article.

If used with no parameters, it will simply produce a reference list in a small font.

Multiple columns

Using {{reflist|2}} will create a two-column reference list, and {{reflist|3}} will create a three-column list.

Using {{reflist|colwidth=30em}} will allow the browser to automatically choose the number of columns based on the width of the web browser. Choose a column width that's appropriate for the average width of the references on the page.

Copied source and usage text from Wikipedia.