Difference between revisions of "Template:Reflist"

From comp.tf
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="reflist <!--
+
{{#if: {{{1|}}} | <div style="column-count: {{{1}}}; -moz-column-count: {{{1}}}; -webkit-column-count: {{{1}}};">}}{{#tag:references}}{{#if: {{{1|}}} | </div> }}<noinclude>
-->{{#if: {{{1|}}}
 
    | columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
 
      | references-column-width
 
      | references-column-count references-column-count-{{#if:1|{{{1}}}}} }}
 
    | {{#if: {{{colwidth|}}}
 
      | references-column-width }} }}" style="<!--
 
-->{{#if: {{{1|}}}
 
    | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
 
      | {{column-width|{{#if:1|{{{1}}}}}}}
 
      | {{column-count|{{#if:1|{{{1}}}}}}} }}
 
    | {{#if: {{{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>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:21, 5 May 2016

(view - edit) Documentation

Template:Reflist is used for listing references defined by <ref> tags in various numbers of columns

Usage

{{reflist|number}}

number

Defines how many columns the reflist will have. May be a value from 1 to 3