Template:Prettytable/doc
|
|
This is a documentation subpage for Template:Prettytable (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
| Usage of Prettytable | ||||||||||
| You type | ...and you get | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
{| {{prettytable}}
|- {{Hl3}}
!one
!two
!three
|-
|four
|{{Hl1}}|five
|six
|-
|seven
|{{Hl1}}|eight
|{{Hl2}}|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