模板:End/doc

来自能源智库
跳转至: 导航搜索


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-2AA模板:Col-2BB |}

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

Result: 模板:Col-begin 模板:Col-2AA 模板:Col-2BB |}

参见

{{!)}}重定向至此

TemplateData

模板:TemplateDataHeader <templatedata> {

   "description": "Ends a table. Must appear on a separate line. Normally used with 模板:Col-begin. It takes no parameters.",
   "params": {
   }

} </templatedata>