Template:Prettytable/doc

From MeritBadgeDotOrg

Jump to: navigation, search

Example

Usage of Prettytable
You type... ...and you get
{| {{prettytable}}
|- {{Hl3}}
!one
!two
!three
|-
|four
|{{Hl1}}|five
|six
|- 
|seven
|{{Hl1}}|eight
|{{Hl2}}|nine
|- 
|{{Hl5}}|ten
|{{Hl4}}|eleven
|{{Hl4}}|twelve
|}
one two three
four five six
seven eight nine
ten eleven twelve

Notes

  • Highlight color "Hl" templates can be added. Here's a list of the ones we have, so far:
  • Use {{Hl1}} for highlighting columns
  • Use {{Hl2}} for horizontal sub-headings
  • Use {{Hl3}} for horizontal main headings
  • Use {{Hl4}} for highlighting rows
  • Use {{Hl5}} for highlighting rows
  • In the final version, the templates should be eliminated with subst:.
Personal tools
language