Difference between revisions of "Template:Tbl-init"
From PC-BSD Wiki
Tigersharke (Talk | contribs) |
Tigersharke (Talk | contribs) (→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= | + | <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| | + | {{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 07: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)
| 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