Zum Inhalt springen

Vorlage:Refbegin: Unterschied zwischen den Versionen

Add category and new colwidth mechanism. (per Template talk:Reflist)
(Fix for indent; move text-indent styling to <dd> element. Now also works in columns.)
(Add category and new colwidth mechanism. (per Template talk:Reflist))
Zeile 1: Zeile 1:
<includeonly><div class="references-small" style="<!--
<includeonly><div class="references-small <!--
  -->{{#if: {{{colwidth|}}}
    | references-column-width
    | {{#if: {{{colcount|}}}
      | references-column-count references-column-count-{{{colcount}}}
      | {{#iferror: {{#ifexpr: {{{1|1}}} > 1
        | references-column-width }} }} }} }}" style="<!--
   -->{{#if: {{{colwidth|}}}
   -->{{#if: {{{colwidth|}}}
     | {{column-width|{{{colwidth}}}}}
     | {{column-width|{{{colwidth}}}}}
     | {{#if: {{{1|}}}
     | {{#if: {{{colcount|}}}
       | {{column-count|{{{1}}}}} }} }}"><!--
       | {{column-count|{{{colcount}}}}}
      | {{#iferror: {{#ifexpr: {{{1|1}}} > 1 | {{#switch:{{{1|1}}}
        | 1 = <!-- nothing -->
        | 2 = {{column-width|30em}}
        | 3 = {{column-width|25em}}
        | #default = {{column-width|20em}} }} }} }} }} }}"><!--
   -->{{#if: {{{indent|}}}
   -->{{#if: {{{indent|}}}
     | <dl style="text-indent: -{{{indentsize|3.5}}}em;">}}</includeonly><noinclude>
     | <dl style="text-indent: -{{{indentsize|3.5}}}em;">}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
Anonymer Benutzer