close
Sayahna Sayahna
Search

Difference between revisions of "Template:End"


(remove {{pp-template}})
 
m (1 revision)
 
(No difference)

Latest revision as of 02:42, 22 March 2014

|}

Documentation icon Template documentation[view] [edit] [history] [purge]

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

Column-generating template families

Family Wiki
table
codeFile:Dagger-14-plain.png
Starting template Break between columns Ending template
"Col" {{Col-begin}}
or {{Col-begin-small}}
{{Col-break}}
{{Col-6}} or use {{Col-break|width=16.6%}}, i.e. with width ≈ 100%/6.
{{Col-7}} or use {{Col-break|width=14.2%}}, i.e. with width ≈ 100%/7.
{{Col-8}} or use {{Col-break|width=12.5%}}, i.e. with width = 100%/8.
For nine or even more columns, use {{Col-break|width=[W]%}}, where
[W] ≈ 100 divided by the number of columns desired.
{{Col-end}}
or {{End}}
"Col-float" 13pxY {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns" 13pxY {{Columns}}
"Columns-start" 13pxY {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" 13pxY {{Div col}}
or {{Columns-list}}
{{Div col end}}
"Multicol" {{Multicol}} {{Multicol-break}} {{Multicol-end}}
"TMB" {{Top}} {{Mid}} {{Bottom}}

File:Dagger-14-plain.png i.e. can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) and/or HTML tags (<table>...</table>, <tr>...</tr>, etc) will need to be used instead.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

End

<templatedata> {

   "description": "Ends a table. Must appear on a separate line. Normally used with 
"params": { } } </templatedata>