Template:Spacer

From Fish Hooks Wiki
Jump to: navigation, search

Usage[edit source]

{{Spacer}}

Purpose[edit source]

Draws an invisible table, to act as a small spacer between objects. This overcomes the problem of no blank lines or a single blank line in a wiki's page causing two objects to touch each other, while two blank lines puts a much larger gap between the objects.

Example 1: no blank lines, or one blank line[edit source]

{| width=50px border=1
|-
|A
|}

{| width=50px border=1
|-
|B
|}
A
B

Example 2: two blank lines[edit source]

{| width=50px border=1
|-
|A
|}


{| width=50px border=1
|-
|B
|}
A


B

Example 3: with the Spacer template between them[edit source]

{| width=50px border=1
|-
|A
|}

{{Spacer}}

{| width=50px border=1
|-
|B
|}
A
B