Table Style Examples
From Xen
Jump to navigationJump to search
This page contains examples of our table styles
Base Styles
class prettytable
| Shopping List | |||||
|---|---|---|---|---|---|
| Bread & Butter | Pie | Buns | Danish | Croissant | |
| Cheese | Ice cream | Butter | Yogurt | ||
| Fruit | Price |
|---|---|
| Pears | £1.15 |
| Apples | £0.95 |
| Oranges | £0.85 |
class shadedtable
| Shopping List | |||||
|---|---|---|---|---|---|
| Bread & Butter | Pie | Buns | Danish | Croissant | |
| Cheese | Ice cream | Butter | Yogurt | ||
| Fruit | Price | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Pears | £1.15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Apples | £0.95 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Oranges | }
class wikitable
class zebra
ModifiersThese are table classes that modify an existing table classes behavior. class fullwidthMake a table the size of the page. {| class="zebra fullwidth"
...
Example:
class sortableMake a table sortable. {| class="prettytable sortable"
...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
