Template:Reflist: Difference between revisions
Appearance
Forgottenman (talk | contribs) m try again... |
Forgottenman (talk | contribs) attempt copy of WP |
||
| Line 1: | Line 1: | ||
<div class="references-small | <div class="reflist references-small <!-- | ||
-->{{#if: {{{1|}}} | |||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | |||
| references-column-width | |||
| references-column-count references-column-count-{{{1}}} }} | |||
| {{#if: {{{colwidth|}}} | |||
| references-column-width }} }}" style="<!-- | |||
-->{{#if: {{{1|}}} | |||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | |||
| {{column-width|{{{1}}}}} | |||
| {{column-count|{{{1}}}}} }} | |||
| {{#if: {{{colwidth|}}} | |||
| {{column-width|{{{colwidth}}}}} }} }}"> | |||
{{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude> | |||
{{documentation}}</noinclude> | |||
<!--<div class="references-small" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}} }}};" |}}> | |||
<references /></div>--> | |||
Revision as of 20:06, 7 January 2011
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.
| The above documentation is transcluded from Template:Reflist/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |