Difference between revisions of "Template:End/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frungi
(linking templates)
imported>Frungi
(→‎Examples: fixing)
Line 10: Line 10:
 
===Examples===
 
===Examples===
 
<pre>
 
<pre>
<nowiki>{{tl|col-begin}}{{tl|col-2}}AA{{col-2}}BB</nowiki>
+
{{tl|col-begin}}{{tl|col-2}}AA<nowiki>{{col-2}}BB</nowiki>
 
<nowiki>{{end}}</nowiki>
 
<nowiki>{{end}}</nowiki>
 
</pre>
 
</pre>

Revision as of 05:47, 1 June 2013

Usage

This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table, except with template {{Top}} & {{Mid}} which require {{Bottom}} to end a Top-table (which has a double-level format).

Severe limitations

WARNING: Template {{end}} must be placed on a separate line for ending a table; otherwise, it inserts a literal bar-brace "|}" into the text.

Examples

{{tl|col-begin}}{{tl|col-2}}AA{{col-2}}BB
{{end}}

Result:

{{col-begin}}
{{col-2}}AA
{{col-2}}BB
{{end}}

Result:

See also