Wikia

WoWWiki

Talk:Table

101,289pages on
this wiki

Back to page

This page is neither really that explanatory nor helpful... I think it needs to be revamped. Marked as a stub. --  ℑilver§ℑide 02:17, 11 Dec 2005 (EST)

Making tables Edit

Is there an easy way to edit tables on WoWWiki via some sort of WYSIWYG Wiki editor? Or are those HTML-to-Wiki converters really the best that's available? RobertM525 18:02, 19 February 2007 (EST)

Scope of this article Edit

How much of this topic should we actually cover? MetaWiki's page seems to be pretty comprehensive. I'm tempted to scrap this article in its current form, write a new one that focuses only on the very basics of tables, and link to MetaWiki for more detailed information. Thoughts? // Montagg (talk · contr) 19:32, 7 March 2007 (EST)

The quick tutorial Edit

A quick tutorial.
{| class="darktable" ← this is the beginning of a table; equivalent to <table class="darktable">
|- class="alt" ← this is the beginning of a row; equivalent to <tr class="alt">; the </tr> wil be added automatically by the wiki when it sees a new row begin or the end of the table
| valign="top" | Some stuff in a cell. ← this is the beginning of a cell with "Some stuff in a cell" in it; equivalent to <td valign="top">; the </td> wil be added automatically by the wiki when it sees a new cell or row begin or the end of the table
|} ← this is the end of a table; equivalent to </table>
Don't put any spaces at the beginning of a line.
The basic and recommended wiki table markup usage is above. As expected, there are variants which I will show some below.
{| class="darktable"
|-  
! align="left" ! A header ← this is the beginning of a header cell with "A header" in it; stuff in a header cell will automatically be bolded and centered, so this example overrides the centering; equivalent to <th align="left">; the </th> wil be added automatically by the wiki when it sees a new cell or row begin or the end of the table
|}
Some variants of cell markup:
{| class="darktable"
! header1!! header2!! align="left" | header3 ← these header cells are stacked together; notice only one ! at the beginning and the !! before the next header cell; notice the last header cell has align="left" |, this adds attributes into the header cell which you need on cells stacked on the same line
| cell1|| cell2|| valign="top" | cell3 ← these normal cells are stacked together; notice only one | at the beginning and the || before the next header cell; notice the last cell has valign="top" |, this adds attributes into the cell which you need on cells stacked on the same line
|}
I hope that helps. I used tables for the tutorial, of course! --Gengar orange 22x22 Fandyllic (talk · contr) 8:30 PM PST 31 Dec 2007

Around Wikia's network

Random Wiki