Template:Prettytable: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
document usage more
Elf (talk | contribs)
m catg sort
 
(4 intermediate revisions by the same user not shown)
Line 36: Line 36:
|}
|}


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:User templates|{{PAGENAME}}]]</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;"

Latest revision as of 22:05, 4 March 2009


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;"