User:Bromaelor/Sandbox

From FamilySearch Wiki
Jump to: navigation, search

Compact TOC

Contents
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


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



Cymru-bach.png
Pointer.png

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)