Template:Shaded table

From FrathWiki
Revision as of 01:23, 5 October 2014 by Cedh audmanh (talk | contribs) (cat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Usage

{{shaded table| title=Marx Brothers | cols=2 }}
| Chico ||	Leonard
|-
| Harpo || Arthur
|-
| Groucho || Julius Henry
|-
| Gummo || Milton
|-
| Zeppo || Herbert
|}
----
{{shaded table | title=Simpson Children | cols=3 }}
| Bart || Lisa || Maggie
|}

gives

Marx Brothers
Chico Leonard
Harpo Arthur
Groucho Julius Henry
Gummo Milton
Zeppo Herbert

Simpson Children
Bart Lisa Maggie

NB that the number of colums (the cols attribute) must be specified for the dark shaded title cell to look right; compare

{{shaded table | title=Simpson Children}}
| Bart || Lisa || Maggie
|}

with omitted cold attribute giving malformed

Simpson Children
Bart Lisa Maggie