Template:FourColumnList
From LAH Wiki
| ||||
Data for Column 1 |
Data for Column 2 |
Data for Column 3 |
Data for Column 4 | |
|
This is a simple template for creating four column list in instances where lists are extremely long, such as lists of doujins featuring a popular character. It uses eight 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
- header - the template's header. if left blank, it won't have one.
- Coll - the data for column 1.
- Col2 - the data for column 2.
- Col3 - the data for column 3.
- Col4 - the data for column 4.
- footer - the template's footer. if left blank, it won't have one.
The code to put into the article is
{{FourColumnList |width= |align= |header= |Col1= |Col2= |Col3= |Col4= |footer= }}
Just about anything can be put into Col1, Col2 and Col3, 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,
{{FourColumnList|width=90%|align=center |Col1=*Bullet *Bullet |Col2=These will be on the same line |Col3=These will <BR> be on seperate lines |Col4=This has four columns}}
Will yield
|
These will be on the same line |
These will be |
This has four columns |