User:Bromaelor/SandboxEdit This Page
From FamilySearch Wiki
Compact TOC
| Contents |
|---|
COMPACT TOCcym
| Contents: | A B C Ch D E F Ff G H I J K L Ll M N O P Q R Rh S T Th U V W Y |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In facilisis felis. Fusce euismod massa convallis magna. Pellentesque eget lectus et metus tristique euismod. In nibh leo, dictum sed, auctor eget, fringilla quis, dui. Aenean justo erat, dapibus ut, porttitor sit amet, volutpat eu, metus. Vestibulum scelerisque nulla in nisi. Morbi ut augue. Mauris porttitor, lorem a placerat scelerisque, diam sem convallis mauris, a pellentesque dolor dolor ut leo. Cras id odio. Maecenas nec magna eget est malesuada molestie. Etiam purus. Mauris pharetra, dolor eget consectetuer scelerisque, ante nulla laoreet orci, at pulvinar felis metus non massa. Sed sagittis. Nullam eros nunc, venenatis sed, volutpat et, suscipit ac, nisl. Nulla facilisi. Vivamus fringilla cursus mi. Aenean placerat blandit dolor. Aenean ornare.
A table is made up of a number of cells arranged into rows.
| row 1, cell 1 | row 1, cell 2 | row 1, cell 3 |
| row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |
Creating tables using Wikitext
Tables begin with:
{|
and end with:
|}
Each row within the table begins with:
|-
and is followed by the contents of each cell within that row, each on a new line, and beginning with a:
|
For example:
{|
|-
| one
| two
| three
|-
| red
| blue
| green
|}
which will result in:
| one | two | three |
| red | blue | green |
Additional formatting features are available:
border
The border parameter determines the thickness of the gridlines within the table:
{| border="1"
|-
| one
| two
| three
|-
| red
| blue
| green
|}
which will result in:
| one | two | three |
| red | blue | green |
cellspacing
The cellspacing parameter determines the space between individual cells within the table:
{| border="1" cellspacing="0"
|-
| one
| two
| three
|-
| red
| blue
| green
|}
which will result in:
| one | two | three |
| red | blue | green |
cellpadding
The cellpadding parameter determines the space surrounding the contents of the individual cells within the table:
{| border="1" cellspacing="0" cellpadding="5"
|-
| one
| two
| three
|-
| red
| blue
| green
|}
which will result in:
| one | two | three |
| red | blue | green |
width
The width parameter determines the width of the table:
{| border="1" cellspacing="0" cellpadding="5" width="50%"
|-
| one
| two
| three
|-
| red
| blue
| green
|}
which will result in:
| one | two | three |
| red | blue | green |
align
The align parameter determines the horizontal alignment of the table:
{| border="1" cellspacing="0" cellpadding="5" width="50%" align="center"
|-
| one
| two
| three
|-
| red
| blue
| green
|}
which will result in:
| one | two | three |
| red | blue | green |
-- BroMaelor 11:48, 10 April 2012 (UTC)
- This page was last modified on 10 April 2012, at 11:48.
- This page has been accessed 323 times.
New to the Research Wiki?
In the FamilySearch Research Wiki, you can learn how to do genealogical research or share your knowledge with others.
Learn More
