Difference between revisions of "Template:Articletable"

From Spydiewiki
Jump to navigationJump to search
Line 14: Line 14:
|}
|}
</pre>
</pre>
'''Result:'''
{|border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;{{{style|}}}"
!Caption 1
!Caption 2
!Caption 3
|-
|Content 1
|Content 2
|Content 3
|}
'''Source code for the template:'''
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;{{{style|}}}"
border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;{{{style|}}}"

Revision as of 01:17, 2 March 2008

This template creates a layout for tables that are used in articles. The width is self-adjusting.

Usage:

{|{{Articletable}}
!Caption 1
!Caption 2
!Caption 3
|-
|Content 1
|Content 2
|Content 3
|}

border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"