模板:Ambox

来自希灵百科
跳转至: 导航搜索
50px 模板文档  [查看] [编辑] [历史] [刷新]

常用参数

右边的方框展示了绝大多数能被{{ambox}}使用的参数。具体用法说明见:http://zh.wikipedia.org/wiki/Template:Ambox

Common parameters
{{Ambox
| name  = 
| subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
| small = {{{small|}}}
| type  = 
| image = 
| sect  = {{{1|}}}
| issue = 
| talk  = {{{talk|}}}
| fix   = 
| date  = {{{date|}}}
| cat   = 
| all   = 
}}<noinclude>
{{Documentation}}
</noinclude>

技术细节

如果你需要在text参数中使用一些特殊字符的话,那么就需要像这样将它们换码:

{{ambox
| text  = <div>
等号 = 与前后大括号{ }可以正常地使用。
但是管道符{{!}}与两个连着的后大括号}}则不能直接使用。
一起用同样要带nowiki标记|}}。
</div>
}}