Template:Prettytable: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
m line break for readability
Elf (talk | contribs)
catg
Line 38: Line 38:
This template consists of:
This template consists of:


</noinclude>border="2" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show;"
[[Category:Formatting templates]]</noinclude>border="2" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show;"

Revision as of 00:21, 22 November 2008


Usage:

Use inside a table to format it in a nicer manner; for example:

{| {{prettytable}}
|-
|table content
|next cell
|-
|next row
|next cell
|}

which generates this:

table content next cell
next row next cell

compared to the default:

table content next cell
next row next cell

This template consists of:border="2" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:95%; empty-cells:show;"