Sorry for the inconvenience.  Known Navigation header breakage of “Previous:” and “Next:” links, the Table Of Contents may be the solution for those.
However, unfortunately, the Table of contents may also be broken, and there may be other unforeseen breakage primarily in the handbook portion of the wiki.
Presently the 10.1 and 10.1.1 Table Of Contents are being "reconstructed" becoming incrementally fixed while the other handbook versions may have various breakage.

Difference between revisions of "Template:Tbl-init"

From PC-BSD Wiki
Jump to: navigation, search
(22 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{|class="{{{class|}}}" style="border:solid #BABABA; border-width:2px 2px 2px 2px; border-collapse: collapse; {{{1|}}}; margin-bottom: 15px;" width="{{{width|100%}}}" align="{{{align|center}}}"
+
<includeonly>{|class="{{{class|spiffy_table}}}" style="border:solid #BABABA; border-width:2px 2px 2px 2px; border-collapse: collapse; {{{1|}}}; margin-left:{{{margin-left|12px}}}; margin-right:{{{margin-right|12px}}}; margin-top:{{{margin-top|10px}}}; margin-bottom:{{{margin-bottom|10px}}}; {{{other|}}}" width="{{{width|97%}}}" align="{{{align|center}}}"
<caption><span style="text-align: left">{{#if: {{{caption}}}|'''Table {{{caption}}}'''|}}</span> <span style="text-align:right">{{GroupList|group=tables|txt={{#if: {{{caption}}}|Table {{{caption}}}|}}|url={{PAGENAME}}}}</span></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>
+
{{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>'''
The example below includes the use of template:tbl-title. (needs update to explain GroupList effect)
+
: 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.
{{tbl-init|{{{1|}}}|width="{{{width|100%}}}"|align="{{{align|center}}}"|caption=1a. The caption}}
+
 
{{tbl-title|Some example}}
+
===Result===
{{tbl-title|column titles}}
+
{{tbl-init|align=center|caption=1a. The caption}}
{{tbl-title|and a bit of space consuming text}}
+
{{tbl-title|column title}}
</noinclude><noinclude>[[category:templates]]</noinclude>
+
|-
 +
{{tbl-cell|row=1|The content}}
 +
|-
 +
{{tbl-cell|row=2|The content}}
 +
|}
 +
[[category:templates]]
 +
{{GroupListHeading|group=tables}}
 +
</noinclude><!-- there must be nothing - not even a space after this comment -->

Revision as of 14:38, 27 February 2013

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}}
|}

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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox