That puts the row header cells on a separate line in the wikitext.
#Mediawiki table generator code
^P is the NoteTab Light code for a line break. Cells and captions ( | or ||, ! or !!, and |+) hold content-separate any attribute from its content with a single pipe ( |), with attributes preceding content.Attributes must be on the same line as the mark. To insert a pipe character ( |) into a table caption or cell, use the | escaping markup.Įach mark, except table end ( |}), optionally accepts one or more attributes.Content that uses wiki markup that itself needs to start on a new line, such as with lists, headings, or nested tables, must be on its own new line. Content may either follow its cell mark on the same line (after any optional HTML attributes) or on lines below the cell mark (beware of undesired paragraphs though).
Blank spaces at the beginning of a line are ignored.The above marks must start on a new line, except the double marks ( || and !!) for optionally adding consecutive cells to a single line.This mark is also used to separate HTML attributes from cell and caption contents. Only between table start and first table row.Ĭonsecutive table header cells may be added on same line separated by double marks ( !!) or start on new lines, each with its own single mark ( !).Ĭonsecutive table data cells may be added on same line separated by double marks ( ||) or start on new lines, each with its own single mark ( |).