Wikieducator tutorial/Tables
From WikiEducator
Work in progress, expect frequent changes. Help and feedback is welcome. See discussion page. |
WikiEducator Tutorials | ||
---|---|---|
Tutorial --no.? | Introduction | Table Color Formatting | Width & height | Table Positioning | Floating table |
Overview
In this subsection we cover creation of wiki tables
Syntax | You get | Explanation | ||||
Syntax for a simple wiki table with two rows and two cells is given below:
{| class="wikitable"
|
|
Here the pipe (vertical bar) codes function exactly the same as HTML table markup. The code |- marks the rows and | marks the Column. A row of column headings is identified by using "!" . The entire table is encased with curly brackets { }and a vertical bar character, | (a pipe). So use {| to begin a table, and |} to end it. Each one needs to be on its own line, as seen below: table code goes here |} |
Colouring tables and colour codes |
External links
- Help:Tables (MediaWiki)