Template:TwoColumnList
From LAH Wiki
| |||
Data for Column 1 |
Data for Column 2 | ||
|
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 four fields (note that more may be added later), two of which are optional. Note that these are case sensative.
- width - 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. If left blank, it will default to 100%.
- background - the background color. if left blank, it will default to transparent.
- align - how the table will align in the page, left, right or center. If left blank, the template will default to center
- Coll: the data for column 1.
- 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.
Code
The code to put into the article is
{{ThreeColumnList |width= |align= |background= |header= |Col1= |Col2= |footer= }}
Usage
Just about anything can be put into Col1 and Col2 and using normal wiki markups, ect. Note that unless you are using list codes such as * or #, that you will need to use the <BR> code for each line break within columns.
For example,
{{TwoColumnList |width=90% |align=center |Col1=*Bullet *Bullet |Col2=#One #Two }}
will yield
|
| |
and
{{TwoColumnList |width=90% |align=center |background=dimgray |Col1=These will be on the same line |Col2=These will <BR> be on seperate lines}} }}
will yield
These will be on the same line |
These will | |