Difference between revisions of "Template:Tbl-cell"

From PC-BSD Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
|style="background:#eeeeee; text-align:{{{align|left}}}; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; border:solid #BABFA3; border-width:0px 1px 1px 0px; {{{other|}}}"|{{{1|{{{content|}}}}}}
+
|class="spiffy_table" style="text-align:{{{align|left}}}; padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; {{{other|}}}"|{{{1|{{{content|}}}}}}
 
<!--
 
<!--
 
{{{{#switch: {{{row}}}
 
{{{{#switch: {{{row}}}

Latest revision as of 03:54, 19 April 2013

[edit] Usage

The row assignments are not needed for new tables built with this template. It should display fine whether they exist or not, since its handled by css now instead of inline style assignments. {{tbl-init|align=center|caption=1a. The caption}}
{{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.

[edit] Result

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

List of Tables


  1. Table 1a. The caption
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox