Difference between revisions of "Template:Tbl-cell"

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

Revision as of 19:14, 23 February 2013

|Tbl-cell Error: No row

Usage

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

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

Result

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

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