Difference between revisions of "Template:ThreeColumnList"

From LAH Wiki
Jump to: navigation, search
(New page: {| style="width:{{{width}}}" align="{{{align}}}" | style="width:33%"| <includeonly>{{{Col1}}}<includeonly><noinclude>Date for Column 1</noinclude> |- | style="width:33%"| <includeonly>{{{C...)
 
Line 1: Line 1:
 
{| style="width:{{{width}}}" align="{{{align}}}"
 
{| style="width:{{{width}}}" align="{{{align}}}"
| style="width:33%"| <includeonly>{{{Col1}}}<includeonly><noinclude>Date for Column 1</noinclude>
+
| style="width:33%; border:1px dotted dimgray"| <includeonly>{{{Col1}}}</includeonly><noinclude>Date for Column 1</noinclude>
|-
+
| style="width:33%; border:1px dotted dimgray"| <includeonly>{{{Col2}}}</includeonly><noinclude>Date for Column 2</noinclude>
| style="width:33%"| <includeonly>{{{Col2}}}<includeonly><noinclude>Date for Column 2</noinclude>
+
| style="width:34%; border:1px dotted dimgray"| <includeonly>{{{Col3}}}</includeonly><noinclude>Date for Column 3</noinclude>
|-
+
| style="width:34%"| <includeonly>{{{Col3}}}<includeonly><noinclude>Date for Column 3</noinclude>
+
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 
This is a simple template for creating three column list in instances where lists are extremely long, such as lists of doujins featuring a popular character.  It uses five fields, two of which are optional. Not that these are case sensative.
 
This is a simple template for creating three column list in instances where lists are extremely long, such as lists of doujins featuring a popular character.  It uses five fields, two of which are optional. Not that these are case sensative.
:width: Optional.  The width of the table. Can be in pixels (written 100px), or more probably a percent (writen 80%). Wider tables are probably better with this template; otherwise, use the two column list template ([[Template:TwoColumnList]]).
+
:'''width''': Optional.  The width of the table. Can be in pixels (written 100px), or more probably a percent (writen 80%). Wider tables are probably better with this template; otherwise, use the two column list template ([[Template:TwoColumnList]]).
:align: Optional, however, it will look best if filled it.  Left or right is best (usually right), but middle is also possible.
+
:'''align''': Optional, however, it will look best if filled it.  Left or right is best (usually right), but middle is also possible.
:Coll: the data for column 1.
+
:'''Coll''': the data for column 1.
:Col2: the data for column 2.
+
:'''Col2''': the data for column 2.
:Col3: the data for column 3.
+
:'''Col3''': the data for column 3.
Just about anything can be put into  
+
Just about anything can be put into Col1, Col2 and Col3, using normal wiki markups, ect. '''Remember that the <nowiki><BR></nowiki> code will be needed for each line break within columns.''' The code to put into the article is
 +
<pre>{{ThreeColumnList|width|align
 +
|Col1
 +
|Col2
 +
|Col3}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 12:59, 15 July 2007

Personal tools