Template:Refbegin: Difference between revisions
From The Goon Show Depository
en>Izno (-refbegin-100, see styles page history for rationale) |
m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
--><div class="refbegin <!-- | --><div class="refbegin <!-- | ||
-->{{#if: {{{indent|}}} | refbegin-hanging-indents }} <!-- | -->{{#if: {{{indent|}}} | refbegin-hanging-indents }} <!-- | ||
-->{{#if: {{{1| | -->{{#if: {{{1|{{{colwidth|}}}}}} | | ||
{{#ifeq: {{{1}}} | 1 | |||
| <!--default to no columns--> | |||
| refbegin-columns references-column-width | |||
}} | |||
}} | |||
" style="<!-- | |||
-->{{#if: {{{1|}}} | -->{{#if: {{{1|}}} | ||
|{{#ifeq: {{{1}}} | 1 | |||
|<!--default to no columns--> | |||
| {{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | |||
| column-width: {{#if:1|{{{1|30em}}}}} | |||
| column-width: 30em | |||
}} | |||
}} | |||
| {{#if: {{{colwidth|}}} | |||
| column-width: {{{colwidth|30em}}} | |||
}} | |||
}}"></includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |