模板:End
(重定向自Template:!))
File:Test Template Info-Icon - Version (2).svg 模板文档[查看] [编辑] [历史] [清除缓存]
| 警告 | 此模板被引用于约94,000个页面,占全部页面的2%。 为了避免造成大规模的影响,所有对此模板的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
此条目可参照外语维基百科相应条目来扩充。 (2018年9月29日) |
用法[编辑]
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.
范例[编辑]
{{col-begin}}{{col-2}}AA{{col-2}}BB
{{end}}
结果:
| AA | BB |
{{col-begin}}
{{col-2}}AA
{{col-2}}BB
{{end}}
结果:
| AA
|
BB |
重定向[编辑]
- {{!)}}重定向至此
TemplateData[编辑]
<templatedata> {
"description": "Ends a table. Must appear on a separate line. Normally used with
"params": {
}
}
</templatedata>
参见[编辑]
| 模板调用 | 输出 (延迟解析为维基代码) |
HTML替代 (不会解析为维基代码) |
说明 |
|---|---|---|---|
{{!}}
|
| | | 或 {{pipe}} | 自MediaWiki 1.24开始被{{!}} 魔术字取代。
|
{{=}}
|
= | = | 自MediaWiki 1.39开始被{{=}} 魔术字取代。
|
{{!!}}
|
|| | || | |
{{!(}}
|
[ | [ | |
{{)!}}
|
] | ] | |
{{!((}}
|
[[ | [[ | |
{{))!}}
|
]] | ]] | |
{{(}}
|
{ | { | |
{{)}}
|
} | } | |
{{((}}
|
{{ | {{ | |
{{))}}
|
}} | }} | |
{{(((}}
|
{{{ | {{{ | |
{{)))}}
|
}}} | }}} | |
{{(!}}
|
{| | {| | |
{{!-}}
|
|- | |- | |
{{!)}}
|
|} | |} | |
{{Colon}}
|
: | : | |
{{*}}
|
* | * | 此模板在不同的 Wiki 中存在差异。 |