Difference between revisions of "Template:TwoColumnList"

From LAH Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{| style="width:{{#if: {{{width|}}}|<includeonly>{{{width}}}</includeonly>|100%}}; background:{{#if: {{{background|}}}|{{{background}}}|transparent}}" valign="top" align="{{#if: {{{align|}}}|<includeonly>{{{align}}}</includeonly>|Center"
+
{| style="width:{{#if: {{{width|}}}|<includeonly>{{{width}}}</includeonly>|100%}}; background:{{#if: {{{background|}}}|{{{background}}}|transparent}}" valign="top" align="{{#if: {{{align|}}}|<includeonly>{{{align}}}</includeonly>|center"
| style="width:50%<!--; border:1px dotted dimgray-->" valign="top"|  
+
|colspan=3|{{#if: {{{header|}}}|<table style="width:100%; background:transparent; text-align:center; font-size:125%; border:0px"><tr><td>{{{header}}}</td></tr></table>}}<noinclude><table style="width:100%; background:transparent; text-align:center; font-size:125%; border:0px"><tr><td>Header</td></tr></table></noinclude>
 +
|-
 +
| style="width:50%<!--; border:1px dotted dimgray-->" valign="top"|
 
<includeonly>{{{Col1}}}</includeonly><noinclude>Data for Column 1</noinclude>
 
<includeonly>{{{Col1}}}</includeonly><noinclude>Data for Column 1</noinclude>
 
| style="width:50%<!--; border:1px dotted dimgray-->" valign="top"|  
 
| style="width:50%<!--; border:1px dotted dimgray-->" valign="top"|  
 
<includeonly>{{{Col2}}}</includeonly><noinclude>Data for Column 2</noinclude>
 
<includeonly>{{{Col2}}}</includeonly><noinclude>Data for Column 2</noinclude>
 +
|-
 +
|colspan=3|{{#if: {{{footer|}}}|<table style="width:100%; background:transparent; text-align:center; font-size:125%; border:0px"><tr><td>{{{footer}}}</td></tr></table>}}<noinclude><table style="width:100%; background:transparent; text-align:center; font-size:125%; border:0px"><tr><td>Footer</td></tr></table></noinclude>
 
|}
 
|}
 
<noinclude><!--Between these tags will not appear on the template iteself-->
 
<noinclude><!--Between these tags will not appear on the template iteself-->
Line 13: Line 17:
 
*'''Coll''': the data for column 1.
 
*'''Coll''': the data for column 1.
 
*'''Col2''': the data for column 2.
 
*'''Col2''': the data for column 2.
 +
*'''header''' - The text used for the template's header.  if left blank, there won't be a header.
 +
*'''footer''' - The text used for the template's footer.  if left blank, there won't be a footer.
 +
 
<!-- These are options yet to be implemented. Some, such as the color options, may not be
 
<!-- These are options yet to be implemented. Some, such as the color options, may not be
*'''header''' - The text used for the template's header.  if left blank, there won't be a header.
+
*'''border''' - the width of the templates border. if left blank, it will default to 0 (no border)
*'''footer''' - The text used for the template's footer.  if left blank, there won't be a footer.
+
*'''borderStyle''' - how the border is drawn, for example solid, dashed or dotted. if left blank, will default to solid.
*'''cellBorder''' - the width of the borders of the individual cells. if left blank, it will default to 0 (no border)
+
*'''borderColor''' - the color of the border.  if left blank, it will default to dimgray, the board default.
*'''cellBorderStyle''' - how the borders of the individual cells are drawn, for example solid, dashed or dotted. if left blank, will default to solid.
+
*'''cellBorder''' - the width of the borders of the individual cells. if left blank, it will default to 0 (no border)
*'''cellBorderColor''' - the color of the borders of the individual cells.  if left blank, it will default to dimgray, the board default.
+
*'''cellBorderStyle''' - how the borders of the individual cells are drawn, for example solid, dashed or dotted. if left blank, will default to solid.
*'''border''' - the width of the templates border. if left blank, it will default to 0 (no border)
+
*'''cellBorderColor''' - the color of the borders of the individual cells.  if left blank, it will default to dimgray, the board default.
*'''borderStyle''' - how the border is drawn, for example solid, dashed or dotted. if left blank, will default to solid.
+
*'''borderColor''' - the color of the border.  if left blank, it will default to dimgray, the board default.
+
 
-->
 
-->
  
Line 30: Line 35:
 
|align=
 
|align=
 
|background=
 
|background=
 +
|header=
 
|Col1=
 
|Col1=
 
|Col2=
 
|Col2=
 +
|footer=
 
}}</pre>
 
}}</pre>
  
Line 64: Line 71:
 
|width=90%
 
|width=90%
 
|align=center
 
|align=center
|background=gray
+
|background=dimgray
 
|Col1=These will  
 
|Col1=These will  
 
be on the same line
 
be on the same line
Line 76: Line 83:
 
|width=90%
 
|width=90%
 
|align=center
 
|align=center
|background=gray
+
|background=dimgray
 
|Col1=These will  
 
|Col1=These will  
 
be on the same line
 
be on the same line

Latest revision as of 00:40, 17 July 2007

Personal tools