Table Style Examples: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) |
Lars.kurth (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
|} |
|} |
||
{| class="prettytable" |
|||
|- |
|||
! Fruit !! Price |
|||
|- |
|||
! Pears || £1.15 |
|||
|- |
|||
! Apples || £0.95 |
|||
|- |
|||
! Oranges || £0.85 |
|||
|} |
|||
<br> |
|||
== class <em>shadedtable</em> == |
== class <em>shadedtable</em> == |
||
{| class="shadedtable" |
{| class="shadedtable" |
||
Line 36: | Line 48: | ||
|} |
|} |
||
{| class="shadedtable" |
|||
|- |
|||
! Fruit !! Price |
|||
|- |
|||
! Pears || £1.15 |
|||
|- |
|||
! Apples || £0.95 |
|||
|- |
|||
! Oranges || £0.85 |
|||
|} |
|||
<br> |
|||
== class <em>wikitable</em> == |
== class <em>wikitable</em> == |
||
{| class="wikitable" |
{| class="wikitable" |
||
Line 53: | Line 76: | ||
|} |
|} |
||
{| class="wikitable" |
|||
|- |
|||
! Fruit !! Price |
|||
|- |
|||
! Pears || £1.15 |
|||
|- |
|||
! Apples || £0.95 |
|||
|- |
|||
! Oranges || £0.85 |
|||
|} |
|||
<br> |
|||
== class <em>zebra</em> == |
== class <em>zebra</em> == |
||
{| class="zebra" |
{| class="zebra" |
||
Line 67: | Line 102: | ||
|Butter |
|Butter |
||
|Yogurt |
|Yogurt |
||
|} |
|||
{| class="zebra" |
|||
|- |
|||
! Fruit !! Price |
|||
|- |
|||
! Pears || £1.15 |
|||
|- |
|||
! Apples || £0.95 |
|||
|- |
|||
! Oranges || £0.85 |
|||
|} |
|} |
||
Revision as of 22:09, 24 June 2013
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 | £0.85 |
class wikitable
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 zebra
Shopping List | |||||
---|---|---|---|---|---|
Bread & Butter | Pie | Buns | Danish | Croissant | |
Cheese | Ice cream | Butter | Yogurt |
Fruit | Price |
---|---|
Pears | £1.15 |
Apples | £0.95 |
Oranges | £0.85 |
Modifiers
These are table classes that modify an existing table classes behavior.
class fullwidth
Make a table the size of the page.
{| class="zebra fullwidth" ...
Example:
Fruit | Price |
---|---|
Apples | £0.95 |
class sortable
Make a table sortable.
{| class="prettytable sortable" ...
Example:
Fruit | Price |
---|---|
Pears | £1.15 |
Apples | £0.95 |
Oranges | £0.85 |