Difference between revisions of "Template:Tbl-init"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{|class="{{{class|}}}" style="border:solid #BABABA; border-width:2px 2px 2px 2px; border-collapse: collapse; {{{1|}}}; margin-bottom: 15px;" width="{{{width|100%}}}" align="{{{align|center}}}"
 
<includeonly>{|class="{{{class|}}}" style="border:solid #BABABA; border-width:2px 2px 2px 2px; border-collapse: collapse; {{{1|}}}; margin-bottom: 15px;" width="{{{width|100%}}}" align="{{{align|center}}}"
<caption style="text-align: left">{{#if: {{{caption|}}}|'''Table {{{caption}}}'''|}} {{{{#if: {{{caption|}}}|GroupList|null}}|group=tables|txt={{#if: {{{caption|}}}|Table {{{caption}}}|}}|url={{PAGENAME}}}}</caption>[[category:Uses Tbl-init]]</includeonly><noinclude>
+
<caption style="text-align: left">{{#if: {{{caption|}}}|'''Table {{{caption}}}'''|}} {{{{#if: {{{caption|}}}|GroupList|null}}|group=tables|txt={{#if: {{{caption|}}}|Table {{{caption}}}|}}|url={{FULLPAGENAME}}}}</caption>[[category:Uses Tbl-init]]</includeonly><noinclude>
 
===Usage===
 
===Usage===
 
<nowiki>{{tbl-init|width=100%|align=center|caption=1a. The caption}}</nowiki><br><br>
 
<nowiki>{{tbl-init|width=100%|align=center|caption=1a. The caption}}</nowiki><br><br>

Revision as of 04:37, 16 February 2013

Usage

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

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

Table 1a. The caption [tables 1]
Some example column titles and a bit of space consuming text

Cite error: <ref> tags exist for a group named "tables", but no corresponding <references group="tables"/> tag was found