Difference between revisions of "Template:Articletable"
From Spydiewiki
Jump to navigationJump to searchLine 15: | Line 15: | ||
|} | |} | ||
</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 | |||
|} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 01:18, 2 March 2008
border="2" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;"
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 |