Template:Prettytable/doc

< Template:Prettytable
Revision as of 14:43, 14 April 2010 by Cottrells (talk | contribs) (Created page with '{{documentation subpage}} {| {{prettytable}} | colspan="2" align="center" | <big>'''Usage of Prettytable'''</big> |- ! You type ! ...and you get |- | <small><pre><nowiki> {| {{pr…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Usage of Prettytable
You type ...and you get
{| {{prettytable}}
|- {{Hl3}}
!one
!two
!three
|-
|four
|{{Hl1}}|five
|six
|- 
|seven
|{{Hl1}}|eight
|{{Hl2}}|nine
|}
one two three
four five six
seven eight nine

Highlight colours (Hl1, Hl2, Hl3) can be improved later. In the final version the templates should be eliminated with subst:.

  • Use Hl3 to mark horizontal main headings
  • Use Hl2 for horizontal sub headings
  • Use Hl1 for highlighting columns