Difference between revisions of "Template:Columns"

From PRIMUS Database
Jump to: navigation, search
(added tempalte)
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>[[Category:Templates]]<!--please do not delete or overwrite--></noinclude>
 
{| style="background:{{{bgcol|transparent}}};" cellspacing="0" cellpadding="0"
 
{| style="background:{{{bgcol|transparent}}};" cellspacing="0" cellpadding="0"
 
|- valign="top"
 
|- valign="top"
  
|style="width:{{{col1width|{{{colwidth|{{{width|15em}}}}}}}}};"|
+
|style="background:{{{bgcol1|transparent}}}; width:{{{col1width|{{{colwidth|{{{width|15em}}}}}}}}}; text-align:{{{col1align|left}}};"|
 
{{{col1}}}
 
{{{col1}}}
 
|style="width:{{{gap|1.25em}}};"|
 
|style="width:{{{gap|1.25em}}};"|
  
|style="width:{{{col2width|{{{colwidth|{{{width|15em}}}}}}}}};"|
+
|style="background:{{{bgcol2|transparent}}}; width:{{{col2width|{{{colwidth|{{{width|15em}}}}}}}}}; text-align:{{{col2align|left}}};"|
 
{{{col2}}}
 
{{{col2}}}
 
|style="width:{{{gap|1.25em}}};"|
 
|style="width:{{{gap|1.25em}}};"|
  
 
|}
 
|}
 +
<noinclude>
 +
Usage:<br>
 +
<pre>
 +
{{Columns
 +
| col1 =
 +
| col2 =
 +
| bgcol =
 +
| colwidth =
 +
| gap =
 +
<!-- uncomment for individual column sizing and coloring
 +
| bgcol1 =
 +
| col1width =
 +
| col1align =
 +
| bgcol2 =
 +
| col2width =
 +
| col2align =
 +
-->
 +
|}}
 +
</pre>
 +
</noinclude>

Latest revision as of 21:28, 9 June 2014

{{{col1}}}

{{{col2}}}

Usage:

{{Columns
| col1 =
| col2 =
| bgcol =
| colwidth =
| gap =
<!-- uncomment for individual column sizing and coloring 
| bgcol1 =
| col1width =
| col1align =
| bgcol2 =
| col2width =
| col2align =
-->
|}}