Template:Prettytable/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Prettytable.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Prettytable.

Migration guide

The old way was:

{| {{Prettytable}}
...
|}

The new way is:

{| class="wikitable"
...
|}

Custom styles can be placed after the class definition, such as:

{| class="wikitable" style="text-align:center;"
...
|}

History

Originally, {{Prettytable}} had a light gray background and {{Purtytable}} had a white background. The templates independently evolved to resemble each other, eventually becoming redundant with CSS classes. The deprecated templates aren't harmful, just inefficient.

{{Prettytable}}, {{Purtytable}}, class="wikitable", and class="prettytable" all do exactly the same thing now. class="wikitable" has the greatest support.

Resources