Template:Table

From CCS Cataloging Manual
Revision as of 22:56, 22 July 2009 by Kschmdt (talk | contribs) (Added usage description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

border="1" cellpadding="4" cellspacing="0" style="border:#c9c9c9 1px solid; margin: 1em 1em 1em 0; border-collapse: collapse;"

Usage

This template is used in the first line of the wiki-markup for a table as an easy way to make the table look like standard Wikipedia tables.

Example

Without this template, this table:

{|
! Column 1 !! Column 2
|-
| A || B
|-
| C || D
|}

displays as:

Column 1 Column 2
A B
C D

With the template, this table:

{| {{table}}
! Column 1 !! Column 2
|-
| A || B
|-
| C || D
|}

displays as:

Column 1 Column 2
A B
C D