|+ {{#if: {{{caption|}}}|Table {{{caption}}}|}} <span class="GroupListItem" >{{{{#if: {{{caption|}}}|GroupList|null}}|group=tables|txt={{#if: {{{caption|}}}|Table {{{caption}}}|}}|url={{FULLPAGENAME}}}}</span>[[category:Uses Tbl-init]]</includeonly><noinclude>{{caveat|icon64=This template needs to be improved to include a table "summary" definition, but may also need updating again to match an html5 spec for the same item.}}

===Usage===

===Usage===

−

<nowiki>{{tbl-init|width=100%|align=center|caption=1a. The caption}}</nowiki><br><br>

The example below includes the use of template:tbl-title. (needs update to explain GroupList effect)

+

: Also place a total of exactly one '''<nowiki><</nowiki>noinclude><nowiki>{{GroupListHeading|group=tables}}</nowiki><nowiki></</nowiki>noinclude>''' at the bottom of the page, below any existing <nowiki><</nowiki>noinclude><nowiki>{{refheading}}</nowiki><nowiki></</nowiki>noinclude> and above the category links section.

−

{{tbl-init|{{{1|}}}|width="{{{width|100%}}}"|align="{{{align|center}}}"|caption=1a. The caption}}

+

−

{{tbl-title|Some example}}

+

===Result===

−

{{tbl-title|column titles}}

+

{{tbl-init|caption=1a. The caption}}

−

{{tbl-title|and a bit of space consuming text}}

+

!column title

−

</noinclude><noinclude>[[category:templates]]</noinclude>

+

|-

+

|The content

+

|-

+

|The content

+

|}

+

[[category:templates]]

+

{{GroupListHeading|group=tables}}

+

</noinclude><!-- there must be nothing - not even a space after this comment -->

Revision as of 16:15, 12 November 2013

This template needs to be improved to include a table "summary" definition, but may also need updating again to match an html5 spec for the same item.

Usage

Also place a total of exactly one <noinclude>{{GroupListHeading|group=tables}}</noinclude> at the bottom of the page, below any existing <noinclude>{{refheading}}</noinclude> and above the category links section.