Template:Tablehead:Simple

From swissbib
Jump to: navigation, search

Syntax

{{Tablehead:Simple|width=...|bgcolor=...}}

Optional parameters:

  • width - total width of table (default: 100%)
  • bgcolor - background color of whole table (default: white)

Usage

{{Tablehead:Simple}}
|-
| first row, first cell
| first row, second cell
|-
| second row, first cell
| second row, second cell
|}

produces

first row, first cell second row, second cell
first row, first cell second row, second cell


{{Tablehead:Simple|width=50%}}
|-
| first row, first cell
| first row, second cell
|-
| second row, first cell
| second row, second cell
|}

produces

first row, first cell second row, second cell
first row, first cell second row, second cell


{{Tablehead:Simple|width=50%|bgcolor=#ffe}}
|-
| first row, first cell
| first row, second cell
|-
| second row, first cell
| second row, second cell
|}

produces

first row, first cell second row, second cell
first row, first cell second row, second cell