Difference between revisions of "Template:Ambox"
Jump to navigation
Jump to search
(Created page with "{{#switch:{{{small|}}} | left = {{ambox/core | small = left | type = {{{type|}}} | image = {{#if:{{{smallimage|}}} | {{{smallimage}}}...") |
(No difference)
|
Latest revision as of 03:36, 16 January 2020
![]() |
{{{text}}} |
常用参数
右边的方框展示了绝大多数能被{{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> }}