Difference between revisions of "Template:End/doc"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(noted use except with {Top} & {Mid} which has double-level format; added)
imported>Wikid77
(added section "Severe limitations" noting {end} must be on separate line; expanded "Examples")
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
__NOTOC__
 +
=== 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 <nowiki>{{Top}} & {{Mid}} which require {{Bottom}}</nowiki> to end a Top-table (which has a double-level format).
  
=== Usage ===
+
===Severe limitations===
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 <nowiki>{{Top}} & {{Mid}} which require {{Bottom}}</nowiki> to end a Top-table (which has double-level format).
+
WARNING: Template {{tl|end}} must be placed on a separate line for ending a table; otherwise, it inserts a literal bar-brace "|}" into the text.
  
==Example==
+
===Examples===
: <nowiki>{{col-begin}}{{col-2}AA{{col-2}}BB{{end}}</nowiki>
+
<pre>
: {{col-begin}}{{col-2}AA{{col-2}}BB{{end}}
+
<nowiki>{{col-begin}}{{col-2}}AA{{col-2}}BB</nowiki>
 +
<nowiki>{{end}}</nowiki>
 +
</pre>
 +
''Result:''
 +
{{col-begin}}{{col-2}}AA{{col-2}}BB
 +
{{end}}
 +
<pre>
 +
<nowiki>{{col-begin}}</nowiki>
 +
<nowiki>{{col-2}}AA</nowiki>
 +
<nowiki>{{col-2}}BB</nowiki>
 +
<nowiki>{{end}}</nowiki>
 +
</pre>
 +
''Result:''
 +
{{col-begin}}
 +
{{col-2}}AA
 +
{{col-2}}BB
 +
{{end}}
  
 
=== See also ===
 
=== See also ===

Revision as of 18:09, 5 October 2009

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

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

Result:

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

Result:

See also