Template:Prettytable: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
document usage
 
Elf (talk | contribs)
m catg sort
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>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;"</includeonly><noinclude>
<noinclude>


'''Usage:'''
'''Usage:'''
Line 34: Line 34:
|next row
|next row
|next cell
|next cell
|}</noinclude>
|}
 
This template consists of:
 
[[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;"