Difference between revisions of "Template:Tbl-init"

From PC-BSD Wiki
Jump to: navigation, search
(Usage)
Line 2: Line 2:
 
<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>
 
<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=98%|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)
 
The example below includes the use of template:tbl-title. (needs update to explain GroupList effect)
{{tbl-init|{{{1|}}}|width="{{{width|100%}}}"|align="{{{align|center}}}"|caption=1a. The caption}}
+
{{tbl-init|{{{1|}}}|width="{{{width|98%}}}"|align="{{{align|center}}}"|caption=1a. The caption}}
 
{{tbl-title|Some example}}
 
{{tbl-title|Some example}}
 
{{tbl-title|column titles}}
 
{{tbl-title|column titles}}
 
{{tbl-title|and a bit of space consuming text}}
 
{{tbl-title|and a bit of space consuming text}}
 
</noinclude><noinclude>[[category:templates]]</noinclude>
 
</noinclude><noinclude>[[category:templates]]</noinclude>

Revision as of 06:23, 16 February 2013

Usage

{{tbl-init|width=98%|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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox