Difference between revisions of "Template:Reflist"
From Combine OverWiki, the original Half-Life wiki and Portal wiki
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="references-small" style="font-size: | + | <div class="references-small" style="font-size:10pt;<!-- |
-->{{#if: {{{1|}}} | -->{{#if: {{{1|}}} | ||
| columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | | columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | ||
Line 5: | Line 5: | ||
| references-column-count references-column-count-{{#if:1|{{{1}}}}} }} | | references-column-count references-column-count-{{#if:1|{{{1}}}}} }} | ||
| {{#if: {{{colwidth|}}} | | {{#if: {{{colwidth|}}} | ||
− | | references-column-width }} }}" style="<!-- | + | | references-column-width }} }}" style="font-size:10pt;<!-- |
-->{{#if: {{{1|}}} | -->{{#if: {{{1|}}} | ||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} |
Latest revision as of 22:32, 6 September 2016
Usage
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 through Wookieepedia.