Template:Articletable: Difference between revisions
From Spydiewiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
[[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 18:15, 1 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
|}
Result:
| Caption 1 | Caption 2 | Caption 3 |
|---|---|---|
| Content 1 | Content 2 | Content 3 |
Source code for the template:
border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"