Difference between revisions of "Template:Refbegin"

From Timelines
Jump to: navigation, search
(Reimplementing {{column-count}} and {{column-width}}, now with proper spacing (caused fault in Firefox))
(Inventory how many pages use normalfont=)
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><div class="references-small" style="<!--
+
<includeonly><div class="refbegin <!--
  -->{{#if: {{{colwidth|}}}
+
-->{{#if: {{{normalfont|}}}
    | {{column-width|{{{colwidth}}}}}
+
    | refbegin-100 }} <!--
    | {{#if: {{{1|}}}
+
-->{{#if: {{{1|}}}
      | {{column-count|{{{1}}}}} }} }}<!--
+
    | columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
  -->{{#if:{{{indent|}}}
+
      | references-column-width
    | text-indent: -{{{indentsize|3.5}}}em; padding-left: 0; margin-left: {{{indentsize|3.5}}}em; list-style-position: inside;
+
      | references-column-count references-column-count-{{#if:1|{{{1}}}}} }}
    | margin-left: 1.5em; }}"></includeonly><noinclude>
+
    | {{#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}}}}} }} }}"><!--
 +
-->{{#if: {{{indent|}}}
 +
    | <dl style="text-indent: -{{{indentsize|3.2}}}em;">}}<!--
 +
-->{{#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