<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stationery.wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AIntroduction_to_tables_with_Wiki_Markup</id>
	<title>Help:Introduction to tables with Wiki Markup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stationery.wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AIntroduction_to_tables_with_Wiki_Markup"/>
	<link rel="alternate" type="text/html" href="https://stationery.wiki/index.php?title=Help:Introduction_to_tables_with_Wiki_Markup&amp;action=history"/>
	<updated>2026-07-18T18:42:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://stationery.wiki/index.php?title=Help:Introduction_to_tables_with_Wiki_Markup&amp;diff=7399&amp;oldid=prev</id>
		<title>Memm: based on https://en.wikipedia.org/w/index.php?title=Help:Introduction_to_tables_with_Wiki_Markup/2&amp;oldid=693983069, see there for contributors</title>
		<link rel="alternate" type="text/html" href="https://stationery.wiki/index.php?title=Help:Introduction_to_tables_with_Wiki_Markup&amp;diff=7399&amp;oldid=prev"/>
		<updated>2018-10-08T16:57:56Z</updated>

		<summary type="html">&lt;p&gt;based on https://en.wikipedia.org/w/index.php?title=Help:Introduction_to_tables_with_Wiki_Markup/2&amp;amp;oldid=693983069, see there for contributors&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
The markup for a basic table is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;width:50%&amp;quot;&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Header C1&lt;br /&gt;
! Header C2&lt;br /&gt;
! Header C3&lt;br /&gt;
|-&lt;br /&gt;
| R1C1&lt;br /&gt;
| R1C2&lt;br /&gt;
| R1C3&lt;br /&gt;
|-&lt;br /&gt;
| R2C1&lt;br /&gt;
| R2C2&lt;br /&gt;
| R2C3&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would produce:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Header C1&lt;br /&gt;
! Header C2&lt;br /&gt;
! Header C3&lt;br /&gt;
|-&lt;br /&gt;
| R1C1&lt;br /&gt;
| R1C2&lt;br /&gt;
| R1C3&lt;br /&gt;
|-&lt;br /&gt;
| R2C1&lt;br /&gt;
| R2C2&lt;br /&gt;
| R2C3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As you can see, columns headers are created by &amp;lt;code&amp;gt;!&amp;amp;nbsp;column&amp;amp;nbsp;name&amp;lt;/code&amp;gt;. Cells are created by &amp;lt;code&amp;gt;|&amp;amp;nbsp;cell&amp;amp;nbsp;text&amp;lt;/code&amp;gt;. The divider between rows is &amp;lt;code&amp;gt;|-&amp;lt;/code&amp;gt;. You can add an extra column by just sticking &amp;lt;code&amp;gt;!&amp;amp;nbsp;new&amp;amp;nbsp;column&amp;amp;nbsp;name&amp;lt;/code&amp;gt; at the end of the last column name. To fill the cells in that column, you need to add another cell to each row: fill it by typing &amp;lt;code&amp;gt;|&amp;amp;nbsp;cell&amp;amp;nbsp;text&amp;lt;/code&amp;gt;. If you want to add an extra row, just add &amp;lt;code&amp;gt;|-&amp;lt;/code&amp;gt; to the table, and fill it with however many cells are appropriate.&lt;br /&gt;
&lt;br /&gt;
To recap, the markup is:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;nowiki /&amp;gt;{|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;table start:&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;required!&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;nowiki /&amp;gt;|+&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;table caption:&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;optional.&amp;#039;&amp;#039; Only between &amp;#039;&amp;#039;&amp;#039;table start&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;first table row&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;nowiki /&amp;gt;!&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;table header cell:&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;optional.&amp;#039;&amp;#039; Consecutive cells may be added on same lines separated by double marks (&amp;lt;code&amp;gt;!!&amp;lt;/code&amp;gt;); or start on new lines, each beginning with its own single mark (&amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;nowiki /&amp;gt;|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;table row&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;optional on first row, otherwise required&amp;#039;&amp;#039;. The wiki engine assumes the first row.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;nowiki /&amp;gt;|&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;table data cell&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;required!&amp;#039;&amp;#039; Consecutive cells may be added on same lines separated by double marks (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;||&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;); or start on new lines, each beginning with its own single mark (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;). Single marks are also used to separate HTML attributes from cell contents (both data or header), or caption contents.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;nowiki /&amp;gt;|}&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;table end:&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;required!&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Blank spaces at the beginning of a line are ignored.&lt;br /&gt;
* Escaping to insert a pipe (&amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt;) character into a table can be done using the {{xtag|nowiki}} markup.&lt;br /&gt;
* &amp;lt;code&amp;gt;class=&amp;quot;wikitable&amp;quot;&amp;lt;/code&amp;gt; is used with a lot of tables on Wikipedia, and adds some standard formatting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Using &amp;lt;code&amp;gt;||&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;!!&amp;lt;/code&amp;gt; with tables===&lt;br /&gt;
&lt;br /&gt;
The above markup must start on a new line. This includes the cell markup (&amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;!&amp;lt;/code&amp;gt;). But the double cell markup (&amp;lt;code&amp;gt;||&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;!!&amp;lt;/code&amp;gt;) can optionally be used for adding consecutive cells to a single line. &lt;br /&gt;
&lt;br /&gt;
For example, this would produce the same table as above:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;width:60%&amp;quot;&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Header C1 !! Header C2 !! Header C3&lt;br /&gt;
|-&lt;br /&gt;
| R1C1      || R1C2      || R1C3&lt;br /&gt;
|-&lt;br /&gt;
| R2C1      || R2C2      || R2C3&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:stationery.wiki quick introductions]]&lt;br /&gt;
[[Category:stationery.wiki tables]]&lt;/div&gt;</summary>
		<author><name>Memm</name></author>
	</entry>
</feed>