Welcome to Wars Wiki! |
---|
Welcome to Wars Wiki. Please log in or create an account to make changes. |
User:Moydow/Sandbox: Difference between revisions
From Wars Wiki
→Simple tables: done for now
(table help page. Do more later) |
(→Simple tables: done for now) |
||
Line 54: | Line 54: | ||
| Cell 2 | | Cell 2 | ||
| Cell 3 | | Cell 3 | ||
|} | |||
|- | |||
| The same table, with an added caption. | |||
| <pre>{| class="wikitable" | |||
|+ A test table | |||
! Header 1 | |||
! Header 2 | |||
! Header 3 | |||
|- | |||
| Cell 1 | |||
| Cell 2 | |||
| Cell 3 | |||
|}</pre> | |||
| | |||
{| class="wikitable" | |||
|+ A test table | |||
! Header 1 | |||
! Header 2 | |||
! Header 3 | |||
|- | |||
| Cell 1 | |||
| Cell 2 | |||
| Cell 3 | |||
|} | |||
|- | |||
| The same table, with the wikicode contained on one line per row. | |||
| <pre>{| class="wikitable" | |||
! Header 1 !! Header 2 !! Header 3 | |||
|- | |||
| Cell 1 || Cell 2 || Cell 3 | |||
|}</pre> | |||
| | |||
{| class="wikitable" | |||
! Header 1 !! Header 2 !! Header 3 | |||
|- | |||
| Cell 1 || Cell 2 || Cell 3 | |||
|} | |||
|- | |||
| An extended table, with randomly added header cells. Any cell can be designated as a "header" by using the <nowiki>!</nowiki> mark. Note that this effect cannot be achieved with the wikicode contained on one line per row. | |||
| <pre>{| class="wikitable" | |||
| Header 1 | |||
! Header 2 | |||
| Header 3 | |||
|- | |||
| Cell 1 | |||
| Cell 2 | |||
! Cell 3 | |||
|- | |||
! Cell A | |||
! Cell B | |||
| Cell C | |||
|}</pre> | |||
| | |||
{| class="wikitable" | |||
| Header 1 | |||
! Header 2 | |||
| Header 3 | |||
|- | |||
| Cell 1 | |||
| Cell 2 | |||
! Cell 3 | |||
|- | |||
! Cell A | |||
! Cell B | |||
| Cell C | |||
|} | |} | ||
|} | |} |