Difference between revisions of "Template:Col-begin"

From Glitch Forever
Jump to navigation Jump to search
(Created page with "{| class="{{{class|}}}" style="background-color:{{{bgColor|transparent}}}; color:{{{fontColor|inherit}}}; width:{{{width|100%}}};" |- |<noinclude> |} {{documentation}}</noincl...")
 
(fixing display div tags and column settings)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="{{{class|}}}" style="background-color:{{{bgColor|transparent}}}; color:{{{fontColor|inherit}}}; width:{{{width|100%}}};"
+
{| class="{{{class|}}}" style="{{#if:{{{small|}}}|font-size:90%; }}background-color:{{{bgColor|{{{bgcolor|transparent}}}}}}; color:{{{fontColor|inherit}}}; width:{{{width|100%}}}; {{{style|}}}"  
 
|-
 
|-
|<noinclude>
+
|<noinclude>|} {{documentation}}[[Category:Templates]]</noinclude>
|}
 
{{documentation}}</noinclude>
 

Latest revision as of 21:53, 9 April 2019

}
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Col-begin/doc to edit this documentation. (How does this work?)

Description

This template is used to create columns. It can be used with either the Template:Col-2 or Template:Col-3 spacing.

This template will need to appear first, then the
{{Col-2}}
or
{{Col-3}}
at the top of each column. To end the column sections use the
{{Col-end}}
template.

You can set this template to have varying width on the page.

Syntax

Type {{Col-begin}} in the text where you'd like to start the column section.

To set a different width use
{{Col-begin|width=70%}}
or any other percentage width you'd like to use.