Help:Creating tables in the wiki: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
copying in help text I created for a different wiki
(No difference)

Revision as of 20:54, 27 April 2007

Creating tables in the wiki is much simpler than in HTML.

Basic markup

The basic elements to create a table are:

  • {| starts a table
  • |} ends a table
  • |- starts a row
  • ! starts a heading cell
  • | starts another cell

Sample 1

Here's a simple table's input:

{|
 |- 
 !Heading 1
 !Heading 2
 |-
 |Data 1
 |Data 2
 |}


Here's how it displays:

Heading 1 Heading 2
Data 1 Data 2

Sample 2

Here's a simple table's input with borders and, this time, all of the cells in one row are on the same line (note repetition of dividing bars):

{|border=1 cellpadding=3 cellspacing=0
 |- 
 !Heading 1!!Heading 2
 |-
 |Data 1||Data 2
 |}


Here's how it displays:

Heading 1 Heading 2
Data 1 Data 2


External links

  • WikiMedia table-markup help From simple to detailed info about creating tables. (A little of the info doesn't apply here, but most of it does.)