Help:Table
Howto Use
Tables use specific formatting.
Tables start with an opening and end with a closing. The opening consists of { class="4e"
, { class="{{d20}}"
, or { class="pathfinder"
(among some specific other types, see also syntax) depending on the affiliated edition and the closing consists of }
. If one desires any tablewide designation they are present on the same line as the opening. For example { class="4e" style="textalign: left;"
. To note if one has a page with multiple tables the vardefine (the variable which determines the rows color) will go throughout tables. To stop this (as desired) use {{#vardefine:odd0}}
. For example { class="{{d20}}" {{#vardefine:odd0}}
.
 Why
{ class="{{d20}}"
and not just{
? Theclass="{{d20}}"
orclass="4e"
determines that the tables color scheme will be recognized.
Tables can have table designators. It displays the contents of the table and is present after the opening. The table designator consists of +
.
Tables can have column and row designators. They display the contents of the column and/or row. The column and row designators consist of !
(row start) or !!
(inline row). If the designation requires only a certain cell to be the designator go down a line to start the next cell, using the "row start" formatting and include the row designation (see below) before the first desired cell row for aesthetic reasons.
Tables are organized by columns and rows.
Columns are designated by 
(row start) or 
(inline row) in each row and go throughout rows.
Rows are designated by  class="{{OddEven{{#var:odd}}}}"
and consist of columns.
 Why
 class="{{OddEven{{#var:odd}}}}"
and not just
? Theclass="{{OddEven{{#var:odd}}}}"
determines that the rows will be noticeable by way of changing the color each row.  Note: Pathfinder (
{ class="pathfinder"
) tables just use
since their rows are not different from one another (among some specific other types, see also syntax).
Syntax
Please wrap all tablerelated things with a space.
Standard table syntax works and should be used complementary to this.
See also MediaWiki:Common.css.
See also User:Sledged/sledged.css.
See also MediaWiki:Common.js.
See also User:Sledged/sledged.js.
Examples
Code:
{ class="4e" + table designator ! column designator (row start) !! column designator (inline row) !! column designator (inline row)  class="{{OddEven{{#var:odd}}}}"  column (row start)  column (inline row)  column (inline row)  class="{{OddEven{{#var:odd}}}}"  column (row start)  column (inline row)  column (inline row)   class="notes" colspan="3"  # Any notes that the table requires # More notes }
Result:
column designator (row start)  column designator (inline row)  column designator (inline row) 

column (row start)  column (inline row)  column (inline row) 
column (row start)  column (inline row)  column (inline row) 

Code:
{ class="{{d20}}" + table designator ! column designator (row start) !! column designator (inline row) !! column designator (inline row)  class="{{OddEven{{#var:odd}}}}"  column (row start)  column (inline row)  column (inline row)  class="{{OddEven{{#var:odd}}}}"  column (row start)  column (inline row)  column (inline row)   class="skill" colspan="3"  # Any notes that the table requires # More notes }
Result:
column designator (row start)  column designator (inline row)  column designator (inline row) 

column (row start)  column (inline row)  column (inline row) 
column (row start)  column (inline row)  column (inline row) 

Code:
{ class="pathfinder" + table designator ! column designator (row start) !! column designator (inline row) !! column designator (inline row)   column (row start)  column (inline row)  column (inline row)   column (row start)  column (inline row)  column (inline row)   class="notes" colspan="3"  # Any notes that the table requires # More notes }
Result:
column designator (row start)  column designator (inline row)  column designator (inline row) 

column (row start)  column (inline row)  column (inline row) 
column (row start)  column (inline row)  column (inline row) 

Code:
{ class="4e" + table designator  class="{{OddEven{{#var:odd}}}}" ! row designator (row start)  column (row start)  column (inline row)  class="{{OddEven{{#var:odd}}}}" ! row designator (row start)  column (row start)  column (inline row)  class="{{OddEven{{#var:odd}}}}" ! row designator (row start)  column (row start)  column (inline row)   class="notes" colspan="3"  # Any notes that the table requires # More notes }
Result:
row designator (row start)  column (row start)  column (inline row) 

row designator (row start)  column (row start)  column (inline row) 
row designator (row start)  column (row start)  column (inline row) 

Code:
{ class="{{d20}}" + table designator  class="{{OddEven{{#var:odd}}}}" ! row designator (row start)  column (row start)  column (inline row)  class="{{OddEven{{#var:odd}}}}" ! row designator (row start)  column (row start)  column (inline row)  class="{{OddEven{{#var:odd}}}}" ! row designator (row start)  column (row start)  column (inline row)   class="skill" colspan="3"  # Any notes that the table requires # More notes }
Result:
row designator (row start)  column (row start)  column (inline row) 

row designator (row start)  column (row start)  column (inline row) 
row designator (row start)  column (row start)  column (inline row) 

Code:
{ class="pathfinder" + table designator  ! row designator (row start)  column (row start)  column (inline row)  ! row designator (row start)  column (row start)  column (inline row)  ! row designator (row start)  column (row start)  column (inline row)   class="notes" colspan="3"  # Any notes that the table requires # More notes }
Result:
row designator (row start)  column (row start)  column (inline row) 

row designator (row start)  column (row start)  column (inline row) 
row designator (row start)  column (row start)  column (inline row) 

See Also
 Help:Table/Examples  more examples of tables