Wikifang:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Blaziken257 (talk | contribs) No edit summary |
(never gonna tell a lie and hurt you) |
||
(5 intermediate revisions by 2 users not shown) | |||
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. | |||
{| width="500" border="1" style="background: #FFEEDD;" class="wikitable" <!-- {| 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 --> | |||
! 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 --> | |||
! 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 --> | |||
== | | 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 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 | |||
|- | |||
| style="color: #008080;" | Cell 11 | |||
< | | Cell 12 | ||
| Cell 13 | |||
= | | Cell 14 | ||
| Cell 15 | |||
|- | |||
| | <!-- If you need to use a literal pipe, use | to prevent parsing issues --> | |||
| | | |||
| | | |||
| | | |||
| | | |||
|} <!-- |} ends the table --> | |||
- | |||
If you |
Latest revision as of 13:50, 7 September 2013
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 |
| | | | | | | | | |