Welcome
Guest
, •
Login
Wiki Home
|
VintageMachinery.org Home
|
OWWM.org Home
|
Donate
Search the Wiki:
»
Navigation
¶
Main Page
Random Page
Create a new Page
All Pages
Categories
File Management
Create Account
Help Topics
Search the wiki
»
Back
Help - Table Formatting
Modified on 2011/12/18 16:16
by
krucker
Categorized as
Help
'''Note''': actual table styles might depend on the wiki [++Customize.MainPage|theme] you are using. <table class="generic"> <tr class="tableheader"> <th>WikiMarkup</th><th>Output</th> </tr> <tr class="tablerow"><td> {{{{<nowiki>{| | Cell 1.1 | Cell 1.2 |- | Cell 2.1 | Cell 2.2 |}</nowiki>}}}} </td><td> {| | Cell 1.1 | Cell 1.2 |- | Cell 2.1 | Cell 2.2 |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |}</nowiki>}}}} </td><td> {| | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| |+ This is a Table | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |}</nowiki>}}}} </td><td> {| |+ This is a Table | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| ! Cells x.1 !! Cells x.2 |- | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |}</nowiki>}}}} </td><td> {| ! Cells x.1 !! Cells x.2 |- | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| border="1" bgcolor="Gray" | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |}</nowiki>}}}} </td><td> {| border="1" bgcolor="#CCCCCC" | Cell 1.1 || Cell 1.2 |- | Cell 2.1 || Cell 2.2 |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| cellspacing="0" cellpadding="2" border="1" |- style="background-color: Red; color: White;" | Cell 1.1 || Cell 1.2 |- style="font-weight: bold;" | Cell 2.1 || Cell 2.2 |}</nowiki>}}}} </td><td> {| cellspacing="0" cellpadding="2" border="1" |- style="background-color: Red; color: White;" | Cell 1.1 || Cell 1.2 |- style="font-weight: bold;" | Cell 2.1 || Cell 2.2 |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| | bgcolor="Blue" | Styled Cell | Normal cell |- | Normal cell | bgcolor="Yellow" | Styled cell |}</nowiki>}}}} </td><td> {| | bgcolor="Blue" | Styled Cell | Normal cell |- | Normal cell | bgcolor="Yellow" | Styled cell |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| | colspan="2" bgcolor="Red" | Cell |- | Cell || Cell |}</nowiki>}}}} </td><td> {| | colspan="2" bgcolor="Red" | Cell |- | Cell || Cell |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| | rowspan="2" bgcolor="Red" | Cell | Cell |- | Cell |}</nowiki>}}}} </td><td> {| | rowspan="2" bgcolor="Red" | Cell | Cell |- | Cell |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| align="right" border="1" | Cell || Cell |}</nowiki>}}}} </td><td> {| align="right" border="1" | Cell || Cell |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| style="margin: 0px auto;" border="1" | Cell || Cell |}</nowiki>}}}} </td><td> {| style="margin: 0px auto;" border="1" | Cell || Cell |} </td></tr> <tr class="tablerow"> <td> {{{{<nowiki>{| cellspacing="0" cellpadding="2" style="background-color: #EEEEEE;" |+ Styled Table |- style="background-color: #990000; color: #FFFFFF;" | This is a cell || This is a cell || This is a cell |- | style="background-color: #000000; color: #CCCCCC;" | Styled cell | style="border: solid 1px #FF0000;" | Styled cell | '''Normal cell''' |- | Normal || Normal || [Download] |}</nowiki>}}}} </td><td> {| cellspacing="0" cellpadding="2" style="background-color: #EEEEEE;" |+ Styled Table |- style="background-color: #990000; color: #FFFFFF;" | This is a cell || This is a cell || This is a cell |- | style="background-color: #000000; color: #CCCCCC;" | Styled cell | style="border: solid 1px #FF0000;" | Styled cell | '''Normal cell''' |- | Normal || Normal || [++Download] |} </td></tr> </table>
Meta Keywords:
Meta Description:
Change Comment:
ScrewTurn Wiki
version 3.0.5.600. Some of the icons created by
FamFamFam
.