Difference between revisions of "Template:Div col"
From Self-sufficiency
m (1 revision) |
(add unnamed {{{2}}} parameter for colwidth, for shorthand use ({{div col||10em}} rather than {{div col|colwidth=10em}}) / move unnamed parameters to inside the named ones, to make reading easier) |
||
Line 1: | Line 1: | ||
− | <includeonly><div | + | <includeonly><div class="<!-- |
+ | -->{{#if: {{{colwidth|{{{2|}}}}}} | ||
+ | | column-width | ||
+ | | column-count column-count-{{{cols|{{{1|2}}}}}} }}" style="<!-- | ||
+ | -->{{#if: {{{colwidth|{{{2|}}}}}} | ||
+ | | {{column-width|{{{colwidth|{{{2}}}}}}}} | ||
+ | | {{column-count|{{{cols|{{{1|2}}}}}}}} }} <!-- | ||
+ | -->{{#if: {{{rules|}}} | ||
+ | | {{#ifeq:{{{rules}}}|yes | ||
+ | | {{column-rule}} | ||
+ | | {{column-rule|{{{rules}}}}} }} }} <!-- | ||
+ | -->{{#ifeq: {{lc:{{{small|}}}}}|yes | ||
+ | | font-size:90%; }} <!-- | ||
+ | -->{{#if: {{{style|}}} | ||
+ | | {{{style}}} }}"></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 14:24, 1 October 2011
[edit]
Documentation