Template:Prettytable

From HacDC Wiki
Revision as of 16:18, 2 November 2010 by Gatohaus (talk | contribs) (starting)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

width="auto" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #bcc; border-collapse:collapse; empty-cells:show; "

This template can be used within a table to provide basic styling more in-line with conventional table structures.

Example
This: {| ! A !! B !! C |- | one cell || two cell || three cell |}

Renders as:

A B C
one cell two cell three cell
And this: {| {{Prettytable}} ! A !! B !! C |- | one cell || two cell || three cell |}

Renders as:

A B C
one cell two cell three cell