Difference between revisions of "Template:End/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frungi
(reverting my own failed changes)
imported>Salix alba
(template data)
Line 28: Line 28:
 
{{end}}
 
{{end}}
  
 +
==TemplateData==
 +
{{TemplateDataHeader}}
 +
<templatedata>
 +
{
 +
    "description": "Ends a table. Must appear on a separate line. Normally used with {{col-begin}}. It takes no parameters.",
 +
    "params": {
 +
    }
 +
}
 +
</templatedata>
 
=== See also ===
 
=== See also ===
 
*{{tl|col-end}}
 
*{{tl|col-end}}

Revision as of 06:47, 9 August 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

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

Result:

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

Result:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for End

Ends a table. Must appear on a separate line. Normally used with {{col-begin}}. It takes no parameters.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

See also