Wikifang:Sandbox: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
This is just to show people how to create a table, since I've heard from several people that they've had little experience with them. Click the Edit button on top to see the syntax.
This is just to show people how to create a table, since I've heard from several people that they've had little experience with them. Click the Edit button on top to see the syntax.


{| width="500" border="1" style="background: #FFEEDD;" <!-- {| starts a table and you can put HTML syntax after it -->
{| width="500" border="1" style="background: #FFEEDD;" <!-- {| starts a table, and you can put HTML syntax after it -->
|- style="background: #EEFFDD;" <!-- |- starts a table row and once again you can put HTML syntax after it -->
|- style="background: #EEFFDD;" <!-- |- starts a table row, and once again, you can put HTML syntax after it -->
! Header 1 <!-- ! creates a table header, like the <th> tag -->
! Header 1 <!-- ! creates a table header; this is equivalent to the HTML <th> tag -->
! style="background: #DDEEFF;" | Header 2 <!-- You can put HTML syntax for each header or cell too, but make sure to put a pipe (|) after the HTML syntax -->
! style="background: #DDEEFF;" | Header 2 <!-- You can put HTML syntax for each header or cell too, but make sure to put a pipe (|) after the HTML syntax -->
! Header 3 !! Header 4 !! style="background: #FFDDEE;" | Header 5 <!-- You can put multiple header cells in one column, just separate them with !!. Also if you plan to use HTML in any cell, you can, but don't forget to use a single pipe (|) after it -->
! Header 3 !! Header 4 !! style="background: #FFDDEE;" | Header 5 <!-- You can put multiple header cells in one column, just separate them with !!. Also, if you plan to use HTML in any cell, you can, but don't forget to use a single pipe (|) after it -->
|- <!-- A new row -->
|- <!-- A new row -->
| Cell 1 <!-- Use pipes (|) instead of exclamation marks (!) for ordinary (non-header) cells -->
| Cell 1 <!-- Use pipes (|) instead of exclamation marks (!) for ordinary (non-header) cells; this is equivalent to the <td> tag in HTML -->
| Cell 2
| Cell 2
| Cell 3 || style="color: #808000;" | Cell 4 || Cell 5 <!-- Same things with headers are possible here -->
| Cell 3 || style="color: #808000;" | Cell 4 || Cell 5 <!-- The same things with headers are possible here -->
|-
|-
| Cell 6 || Cell 7 || Cell 8 || Cell 9 || Cell 10
| Cell 6 || Cell 7 || Cell 8 || Cell 9 || Cell 10

Revision as of 13:21, 7 February 2011

This is just to show people how to create a table, since I've heard from several people that they've had little experience with them. Click the Edit button on top to see the syntax.

Header 1 Header 2 Header 3 Header 4 Header 5
Cell 1 Cell 2 Cell 3 Cell 4 Cell 5
Cell 6 Cell 7 Cell 8 Cell 9 Cell 10
Cell 11 Cell 12 Cell 13 Cell 14 Cell 15
| | | | |