Template:Refbegin: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edokter
Add category and new colwidth mechanism. (per Template talk:Reflist)
m 1 revision imported
 
(30 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly><div class="references-small <!--
<includeonly><templatestyles src="Refbegin/styles.css" /><!--
  -->{{#if: {{{colwidth|}}}
--><div class="refbegin <!--
    | references-column-width
-->{{#if: {{{indent|}}} | refbegin-hanging-indents }} <!--
    | {{#if: {{{colcount|}}}
-->{{#if: {{{normalfont|}}} | refbegin-100 }} <!--
      | references-column-count references-column-count-{{{colcount}}}
-->{{#if: {{{1|}}}
      | {{#iferror: {{#ifexpr: {{{1|1}}} > 1
    | refbegin-columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
        | references-column-width }} }} }} }}" style="<!--
      | references-column-width  
  -->{{#if: {{{colwidth|}}}
      | references-column-count references-column-count-{{#if:1|{{{1}}}}} }}
    | {{column-width|{{{colwidth}}}}}
    | {{#if: {{{colwidth|}}}
    | {{#if: {{{colcount|}}}
      | references-column-width }} }}" style="<!--
      | {{column-count|{{{colcount}}}}}
-->{{#if: {{{1|}}}
      | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 | {{#switch:{{{1|1}}}
    | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }}
        | 1 = <!-- nothing -->
      | column-width: {{#if:1|{{{1|30em}}}}}
        | 2 = {{column-width|30em}}
      | column-count: {{#if:1|{{{1}}}}}; }}
        | 3 = {{column-width|25em}}
    | {{#if: {{{colwidth|}}}
        | #default = {{column-width|20em}} }} }} }} }} }}"><!--
      | column-width: {{{colwidth|30em}}} }} }}"><!--
  -->{{#if: {{{indent|}}}
-->{{#if: {{{normalfont|}}}
    | <dl style="text-indent: -{{{indentsize|3.5}}}em;">}}</includeonly><noinclude>
    | [[Category:Pages using refbegin with normalfont parameter]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:16, 6 June 2021