UserPreferences

HelpOnTables


The following 166 words could not be found in the dictionary of 550 words (including 550 LocalSpellingWords) and are highlighted below:

add   addition   Adjacent   after   aligned   Alignment   allowed   also   always   and   angle   Any   any   Apart   are   As   attribute   Attributes   attributes   background   be   Between   between   bgcolor   blue   bottom   brackets   By   by   can   cell   Cell   cell2   cells   centered   centering   certain   color   Colors   colspan   columns   combined   comma   conflicting   containing   create   csvprocessor   Data   default   directly   Display   E0   Editing   end   especially   Example   explicit   F80   F8080   first   following   For   for   from   full   General   get   green   has   have   Heading   Help   If   in   In   indent   information   Insert   into   is   it   itself   last   layout   left   level   like   line   lines   long   many   marker   markers   middle   more   name   narrow   no   note   number   of   On   on   one   only   option   options   or   other   over   placed   possible   prefix   Processors   properties   red   repeat   right   row   rowbgcolor   rows   rowspan   same   see   Self   separated   separating   set   several   since   some   sources   spanning   Spanning   spans   specifying   start   table   Table   tablewidth   than   that   The   the   them   There   these   this   those   to   To   top   traditional   use   using   values   vertical   very   way   wide   width   winded   wins   with   you   your  

Clear message

Table Markup

To create a table, you start and end a line using the table marker "||". Between those start and end markers, you can create any number of cells by separating them with "||". To get a centered cell that spans several columns, you start that cell with more than one cell marker. Adjacent lines of the same indent level containing table markup are combined into one table.

For more information on the possible markup, see HelpOnEditing.

Table Attributes

Apart from the option to repeat cell markers to get columns spanning several other columns, you can directly set many HTML table attributes. Any attributes have to be placed between angle brackets <...> directly after the cell marker.

The wiki-like markup has the following options:

If you use several conflicting options like <(:)>, the last option wins. There is no explicit option for vertical centering (middle), since that is always the default.

In addition to these, you can add some of the traditional, more long-winded HTML attributes (note that only certain HTML attributes are allowed). By specifying attributes this way, it is also possible to set properties of the table rows and of the table itself, especially you can set the table width using ||<tablewidth="100%">...|| in the very first row of your table, and the color of a full row by ||<rowbgcolor="#FFFFE0">...|| in the first cell of a row. As you can see, you have to prefix the name of the HTML attribute with table or row.

Example

 General table layout and HTML like options::
 ||||||<tablewidth="80%">'''Heading'''||
 ||cell 1||cell2||cell 3||
 ||<rowspan=2> spanning rows||||<bgcolor='#E0E0FF'> spanning 2 columns||
 ||<rowbgcolor="#FFFFE0">cell2||cell 3||
 Cell width::
 || narrow ||<:99%> wide ||
 Spanning rows and columns::
 ||<|2> 2 rows || row 1 ||
 || row 2 ||
 ||<-2> row 3 over 2 columns ||
 Alignment::
 ||<(> left ||<^|3> top ||<v|3> bottom ||
 ||<:> centered ||
 ||<)> right ||
 Colors::
 ||<#FF8080> red ||<#80FF80> green ||<#8080FF> blue ||

Display

Insert Table Data from other sources