Click here for your TEFL Certificate.

Help:Tables

From TEFL World Wiki
Jump to: navigation, search

This page explains how to use and insert tables in the wiki.


Basic Table

This is the basic table layout for the wiki:

COL1 COL2 COL3
row1_col1 row1_col2 row1_col3

This table can be inserted using this code:

{| class="wikitable" cellpadding="5" 
|- bgcolor="#CCCCCC"
! COL1 !! COL2 !! COL3
|-
| row1_col1 || row1_col2 || align="center"|row1_col3 
|-
|}


Sortable Table

To make the columns sortable, simply change the class to class="sortable wikitable".

COL1 COL2 COL3
row1_col1 row1_col2 row1_col3
row2_col1 row2_col2 row2_col3
{| class="sortable wikitable" cellpadding="5" 
|- bgcolor="#CCCCCC"
! COL1 !! COL2 !! class="unsortable"|COL3
|-
| row1_col1 || row1_col2 || row1_col3 
|-
| row2_col1 || row2_col2 || row2_col3 
|-
|}


Side Info Box

The side info box can be used to explain extra information, not directly related to the text.

{| style="font-size: 90%; border: 1px solid #aaaaaa; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left; width: 250px;"
! style="text-align: center; background-color:#FEAE59;" colspan="2" |<big>Subject Explained</big>
|-
| The additional information goes here.
|}

Subject Explained
The additional information goes here.
Personal tools
Namespaces
Variants
Actions
Navigation
Forum Menu
Toolbox
Online TEFL Certicate
TEFL Directory