Template:Tables: Difference between revisions

From BoyWiki
No edit summary
No edit summary
Line 31: Line 31:
|}</code><br>  
|}</code><br>  


The above table displays like this:
The above table data displays like this:


{|class="wikitable"
{|class="wikitable"

Revision as of 07:07, 26 March 2014

This shows how to use the "wikitable" class.

This is the table data:

{|class="wikitable"
|-
!Table title
!First column
!Second column
!Third column
!Fourth column
|-
|First row data
|Red
|Blue
|Green
|Yellow
|-
|Second row data
|Blue
|Red
|Yellow
|Green
|-
|Third row data
|Yellow
|Green
|Blue
|Red
|-
|}

The above table data displays like this:

Table title First column Second column Third column Fourth column
First row data Red Blue Green Yellow
Second row data Blue Red Yellow Green
Third row data Yellow Green Blue Red