Difference between revisions of "Template:Refbegin"

From Timelines
Jump to: navigation, search
(Add category and new colwidth mechanism. (per Template talk:Reflist))
(Inventory how many pages use normalfont=)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><div class="references-small <!--
+
<includeonly><div class="refbegin <!--
  -->{{#if: {{{colwidth|}}}
+
-->{{#if: {{{normalfont|}}}
    | references-column-width
+
    | refbegin-100 }} <!--
    | {{#if: {{{colcount|}}}
+
-->{{#if: {{{1|}}}
      | references-column-count references-column-count-{{{colcount}}}
+
    | columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
      | {{#iferror: {{#ifexpr: {{{1|1}}} > 1
+
      | references-column-width
        | references-column-width }} }} }} }}" style="<!--
+
      | references-column-count references-column-count-{{#if:1|{{{1}}}}} }}
  -->{{#if: {{{colwidth|}}}
+
    | {{#if: {{{colwidth|}}}
    | {{column-width|{{{colwidth}}}}}
+
      | references-column-width }} }}" style="<!--
    | {{#if: {{{colcount|}}}
+
-->{{#if: {{{1|}}}
      | {{column-count|{{{colcount}}}}}
+
    | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
      | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 | {{#switch:{{{1|1}}}
+
      | {{column-width|{{#if:1|{{{1}}}}}}}
        | 1 = <!-- nothing -->
+
      | {{column-count|{{#if:1|{{{1}}}}}}} }}
        | 2 = {{column-width|30em}}
+
    | {{#if: {{{colwidth|}}}
        | 3 = {{column-width|25em}}
+
      | {{column-width|{{{colwidth}}}}} }} }}"><!--
        | #default = {{column-width|20em}} }} }} }} }} }}"><!--
+
-->{{#if: {{{indent|}}}
  -->{{#if: {{{indent|}}}
+
    | <dl style="text-indent: -{{{indentsize|3.2}}}em;">}}<!--
    | <dl style="text-indent: -{{{indentsize|3.5}}}em;">}}</includeonly><noinclude>
+
-->{{#if: {{{normalfont|}}}
 +
    | [[Category:Pages using refbegin with normalfont parameter]]}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 +
{{/TemplateData}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:23, 2 March 2015

Template documentation[create]

Template:Refbegin/TemplateData