Difference between revisions of "Template:Articletable"

From Spydiewiki
Jump to navigationJump to search
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
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|}}}"
<noinclude>
<noinclude>
This template creates a layout for tables that are used in articles. The width is self-adjusting.
'''How to use:'''
 
'''Usage:'''
<pre>
<pre>
{|{{Articletable}}
{|{{Articletable}}
!Caption 1
|'''Caption 1'''
!Caption 2
|'''Caption 2'''
!Caption 3
|'''Caption 3'''
|-
|-
|Content 1
|Content 1
Line 15: Line 14:
|}
|}
</pre>
</pre>
[[Category:Templates]]
 
'''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
|}
 
'''Where to use:'''
 
To be used in articles to create tables for technical data, etc.
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 02:20, 3 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;"


How to use:

{|{{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

Where to use:

To be used in articles to create tables for technical data, etc.