Template:Tables: Difference between revisions

From BoyWiki
User4 (talk | contribs)
No edit summary
User4 (talk | contribs)
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