Template:Tables: Difference between revisions

From BoyWiki
User4 (talk | contribs)
No edit summary
User4 (talk | contribs)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
This is the table data:
This is the table data:


<code>{|class="wikitable"<br>
<pre>{|class="wikitable"
|-<br>
|-<br>
!Table title<br>
!Table title<br>
Line 29: Line 29:
|Red<br>
|Red<br>
|-<br>
|-<br>
|}</code><br>  
|}</pre>


The above table displays like this:


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

Latest revision as of 22:27, 26 March 2014

This shows how to use the "wikitable" class.

This is the table data:

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


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