From MeritBadgeDotOrg
border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
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:.