Welcome to the Discworld & Pratchett Wiki. Have fun, contribute and be warned articles may contain nuts and spoilers to the plots of the books.

Help talk:Editing

From Discworld & Pratchett Wiki

Jump to: navigation, search

Nifty table : now can any of you code boffins write a template to make a table like that for bibliographies or whatever list comes up? I've spent hours aligning a couple of them manually, and it's never really neat. I've searched Wikipedia, but I don't see any reference to tables. --Old Dickens 16:15, 31 January 2007 (CET)

Tables are actually pretty easy. My problem was that I'm a web designer so my first thought was HTML table.
Here's the table page on Meta.
Quick Example:

{|

|- 
! Header 1 !! Header 2 !! Header 3 !! Header 4 

|- 
| Row 1 C1 || Row 1 C2 || Row 1 C3 || Row 1 C4

|- 
| Row 2 C1 || Row 2 C2 || Row 2 C3 || Row 2 C4

|- 
| Row 3 C1 || Row 3 C2 || Row 3 C3 || Row 3 C4

|- 
| Row 4 C1 || Row 4 C2 || Row 4 C3 || Row 4 C4

|}

Header 1 Header 2 Header 3 Header 4
Row 1 C1 Row 1 C2 Row 1 C3 Row 1 C4
Row 2 C1 Row 2 C2 Row 2 C3 Row 2 C4
Row 3 C1 Row 3 C2 Row 3 C3 Row 3 C4
Row 4 C1 Row 4 C2 Row 4 C3 Row 4 C4

Fhh98 01:09, 1 February 2007 (CET)


Aha! I'll see if I can make it work. Ta.--Old Dickens 16:14, 1 February 2007 (CET)
Personal tools