Difference between revisions of "Template:Tbl-title"

From PC-BSD Wiki
Jump to: navigation, search
Line 2: Line 2:
 
<noinclude>
 
<noinclude>
 
===Usage===
 
===Usage===
'''<nowiki>{{</nowiki>tbl-init{{pipe}}''align='''center''{{pipe}}'''caption='''''1a. The caption'''''<nowiki>}}</nowiki>'''<br>{{highlight|text='''<nowiki>{{</nowiki>tbl-title{{pipe}}'''''column title'''''<nowiki>}}</nowiki>}}<br>{{pipe}}-'''<br>'''<nowiki>{{</nowiki>tbl-cell{{pipe}}row='''''1''{{pipe}}''The content'''''<nowiki>}}</nowiki>'''<br>'''{{pipe}}-<br><nowiki>{{</nowiki>tbl-cell{{pipe}}row='''''2''{{pipe}}''The content'''''<nowiki>}}</nowiki><br>{{pipe}}<nowiki>}</nowiki>'''
+
'''<nowiki>{{</nowiki>tbl-init{{pipe}}''align='''center''{{pipe}}'''caption='''''1a. The caption'''''<nowiki>}}</nowiki>'''<br>{{highlight|text'''<nowiki>{{</nowiki>tbl-title{{pipe}}'''''column title'''''<nowiki>}}</nowiki>}}<br>{{pipe}}-'''<br>='''<nowiki>{{</nowiki>tbl-cell{{pipe}}row='''''1''{{pipe}}''The content'''''<nowiki>}}</nowiki>'''<br>'''{{pipe}}-<br><nowiki>{{</nowiki>tbl-cell{{pipe}}row='''''2''{{pipe}}''The content'''''<nowiki>}}</nowiki><br>{{pipe}}<nowiki>}</nowiki>'''
 +
: 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.
 +
 
 
===Result===
 
===Result===
 
{{tbl-init|align=center|caption=1a. The caption}}
 
{{tbl-init|align=center|caption=1a. The caption}}
Line 11: Line 13:
 
{{tbl-cell|row=2|The content}}
 
{{tbl-cell|row=2|The content}}
 
|}
 
|}
</noinclude>
+
[[category:templates]]
<noinclude>[[category:templates]]</noinclude>
+
{{GroupListHeading|group=tables}}
 +
</noinclude><!-- there must be nothing - not even a space after this comment -->

Revision as of 19:45, 23 February 2013


Usage

{{tbl-init|align=center|caption=1a. The caption}}
text{{tbl-title|column title}}
|-

={{tbl-cell|row=1|The content}}
|-
{{tbl-cell|row=
2|The content}}
|}

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.

Result

Table 1a. The caption [tables 1]
column title
The content
The content

List of Tables


  1. Table 1a. The caption