Difference between revisions of "User:Bromaelor/Sandbox"

From FamilySearch Wiki
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
+
Compact TOC<br> {{CompactTOC8}}
  
<div style="position: relative; background:#ffffff">[[Image:Cymru-bach.png]]
+
<br>
<div style="position: absolute; left: 0px; top: 0px">[[Image:Pointer.png]]</div></div>
+
 
 +
COMPACT TOCcym<br> {{CompactTOC8CYM}}
 +
 
 +
<br>
 +
 
 +
<br>
 +
<div style="position: relative; background:#ffffff">[[Image:Cymru-bach.png]] <div style="position: absolute; left: 0px; top: 0px">[[Image:Pointer.png]]</div></div>  
 
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.  
 
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'''.
+
A table is made up of a number of '''cells''' arranged into '''rows'''.  
  
{| border="1" cellspacing="0" cellpadding="5"
+
{| cellspacing="0" cellpadding="5" border="1"
 
|-
 
|-
| row 1, cell 1
+
| row 1, cell 1  
| row 1, cell 2
+
| row 1, cell 2  
 
| row 1, cell 3
 
| row 1, cell 3
 
|-
 
|-
| row 2, cell 1
+
| row 2, cell 1  
| row 2, cell 2
+
| row 2, cell 2  
 
| row 2, cell 3
 
| row 2, cell 3
 
|}
 
|}
<br>
 
 
==Creating tables using Wikitext==
 
 
Tables begin with:
 
 
<pre><nowiki>
 
{|
 
</nowiki></pre>
 
  
and end with:
+
<br>
  
<pre><nowiki>
+
== Creating tables using Wikitext  ==
|}
 
</nowiki></pre>
 
  
Each row within the table begins with:
+
Tables begin with:
 
+
<pre>{|
<pre><nowiki>
+
</pre>
|-
+
and end with:
</nowiki></pre>
+
<pre>|}
 
+
</pre>
and is followed by the contents of each cell within that row, each on a new line, and beginning with a:
+
Each row within the table begins with:  
 
+
<pre>|-
<pre><nowiki>
+
</pre>  
|
+
and is followed by the contents of each cell within that row, each on a new line, and beginning with a:  
</nowiki></pre>
+
<pre>|
 
+
</pre>  
For example:
+
For example:  
 
+
<pre>{|
<pre><nowiki>
 
{|
 
 
|-
 
|-
 
| one
 
| one
Line 58: Line 51:
 
| green
 
| green
 
|}
 
|}
</nowiki></pre>
+
</pre>  
 
+
which will result in:  
which will result in:
 
  
 
{|
 
{|
 
|-
 
|-
| one
+
| one  
| two
+
| two  
 
| three
 
| three
 
|-
 
|-
| red
+
| red  
| blue
+
| blue  
 
| green
 
| green
 
|}
 
|}
<br>
 
  
Additional formatting features are available:
+
<br>
 +
 
 +
Additional formatting features are available:  
 +
 
 +
=== border  ===
  
===border===
 
 
----
 
----
  
The '''border''' parameter determines the thickness of the gridlines within the table:
+
The '''border''' parameter determines the thickness of the gridlines within the table:  
 
+
<pre>{| border="1"
<pre><nowiki>
 
{| border="1"
 
 
|-
 
|-
 
| one
 
| one
Line 92: Line 84:
 
| green
 
| green
 
|}
 
|}
</nowiki></pre>
+
</pre>  
 
+
which will result in:  
which will result in:
 
  
 
{| border="1"
 
{| border="1"
 
|-
 
|-
| one
+
| one  
| two
+
| two  
 
| three
 
| three
 
|-
 
|-
| red
+
| red  
| blue
+
| blue  
 
| green
 
| green
 
|}
 
|}
<br>
 
  
===cellspacing===
+
<br>
 +
 
 +
=== cellspacing ===
 +
 
 
----
 
----
  
The '''cellspacing''' parameter determines the space between individual cells within the table:
+
The '''cellspacing''' parameter determines the space between individual cells within the table:  
 
+
<pre>{| border="1" cellspacing="0"
<pre><nowiki>
 
{| border="1" cellspacing="0"
 
 
|-
 
|-
 
| one
 
| one
Line 124: Line 115:
 
| green
 
| green
 
|}
 
|}
</nowiki></pre>
+
</pre>  
 
+
which will result in:  
which will result in:
 
  
{| border="1" cellspacing="0"
+
{| cellspacing="0" border="1"
 
|-
 
|-
| one
+
| one  
| two
+
| two  
 
| three
 
| three
 
|-
 
|-
| red
+
| red  
| blue
+
| blue  
 
| green
 
| green
 
|}
 
|}
<br>
 
  
===cellpadding===
+
<br>
-----
 
  
The '''cellpadding''' parameter determines the space surrounding the contents of the individual cells within the table:
+
=== cellpadding ===
  
<pre><nowiki>
+
----
{| border="1" cellspacing="0" cellpadding="5"
+
 
 +
The '''cellpadding''' parameter determines the space surrounding the contents of the individual cells within the table:
 +
<pre>{| border="1" cellspacing="0" cellpadding="5"
 
|-
 
|-
 
| one
 
| one
Line 156: Line 146:
 
| green
 
| green
 
|}
 
|}
</nowiki></pre>
+
</pre>  
 
+
which will result in:  
which will result in:
 
  
{| border="1" cellspacing="0" cellpadding="5"
+
{| cellspacing="0" cellpadding="5" border="1"
 
|-
 
|-
| one
+
| one  
| two
+
| two  
 
| three
 
| three
 
|-
 
|-
| red
+
| red  
| blue
+
| blue  
 
| green
 
| green
 
|}
 
|}
<br>
 
  
===width===
+
<br>
-----
 
  
The '''width''' parameter determines the width of the table:
+
=== width ===
  
<pre><nowiki>
+
----
{| border="1" cellspacing="0" cellpadding="5" width="50%"
+
 
 +
The '''width''' parameter determines the width of the table:
 +
<pre>{| border="1" cellspacing="0" cellpadding="5" width="50%"
 
|-
 
|-
 
| one
 
| one
Line 188: Line 177:
 
| green
 
| green
 
|}
 
|}
</nowiki></pre>
+
</pre>  
 
+
which will result in:  
which will result in:
 
  
{| border="1" cellspacing="0" cellpadding="5" width="50%"
+
{| cellspacing="0" cellpadding="5" border="1" width="50%"
 
|-
 
|-
| one
+
| one  
| two
+
| two  
 
| three
 
| three
 
|-
 
|-
| red
+
| red  
| blue
+
| blue  
 
| green
 
| green
 
|}
 
|}
  
===align===
+
=== align ===
-----
 
  
The '''align''' parameter determines the horizontal alignment of the table:
+
----
  
<pre><nowiki>
+
The '''align''' parameter determines the horizontal alignment of the table:
{| border="1" cellspacing="0" cellpadding="5" width="50%" align="center"
+
<pre>{| border="1" cellspacing="0" cellpadding="5" width="50%" align="center"
 
|-
 
|-
 
| one
 
| one
Line 219: Line 206:
 
| green
 
| green
 
|}
 
|}
</nowiki></pre>
+
</pre>  
 
+
which will result in:  
which will result in:
 
  
{| border="1" cellspacing="0" cellpadding="5" width="50%" align="center"
+
{| cellspacing="0" cellpadding="5" border="1" width="50%" align="center"
 
|-
 
|-
| one
+
| one  
| two
+
| two  
 
| three
 
| three
 
|-
 
|-
| red
+
| red  
| blue
+
| blue  
 
| green
 
| green
 
|}
 
|}
 +
 +
<br>
 +
 +
--[[User:Bromaelor| BroMaelor ]] 11:48, 10 April 2012 (UTC)<br>

Latest revision as of 05:48, 10 April 2012

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[edit | edit source]

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[edit | edit source]


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[edit | edit source]


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[edit | edit source]


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[edit | edit source]


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[edit | edit source]


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)