Template:Reflist: Difference between revisions
add pass-thru for new syntax
(Adding div classes per editprotected on talk by Anomie using change from http://en.wikipedia.org/w/index.php?title=User:Anomie/Sandbox3&diff=244821255&oldid=244820528) |
(add pass-thru for new syntax) |
||
Line 1: | Line 1: | ||
<div class="references-small {{#if: {{{colwidth|}}} | references-column-width | {{#iferror: {{#ifexpr: {{{1|1}}}>1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}> | <div class="references-small {{#if: {{{colwidth|}}} | references-column-width | {{#iferror: {{#ifexpr: {{{1|1}}}>1 | references-column-count references-column-count-{{{1}}} }} }} }}" {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; column-count:{{{1}}};" }} }}> | ||
{{#tag:references||group={{{group|}}}}}</div><noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude> | {{#tag:references|{{{refs|}}}|group={{{group|}}}}}</div><noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude> |