“模板:Ambox”的版本间的差异
BallanceBug(讨论 | 贡献) (2个标签:移动版编辑、移动网页编辑) |
BallanceBug(讨论 | 贡献) 小 (撤销BallanceBug(讨论)的版本1602) (1个标签:撤销) |
||
第1行: | 第1行: | ||
− | {{Ambox/core | + | {{Ambox/{{#ifeq:{{{small}}}|left|small|core}} |
|type = {{{type|}}} | |type = {{{type|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
+ | |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}} | ||
+ | |imageright = {{{imageright|}}} | ||
+ | |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}} | ||
|class = ambox-{{#switch:{{{type|}}} | |class = ambox-{{#switch:{{{type|}}} | ||
|speedy = speedy | |speedy = speedy | ||
第13行: | 第16行: | ||
|style = {{{style|}}} | |style = {{{style|}}} | ||
|textstyle = {{{textstyle|}}} | |textstyle = {{{textstyle|}}} | ||
+ | |smalltext = {{{smalltext|}}} | ||
+ | |talk = {{#switch:{{{talk|¬}}} | ||
+ | |¬ = <!-- No talk link used --> | ||
+ | | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}} | ||
+ | |#default = {{{talk}}} | ||
+ | }} | ||
|issue = {{{issue|}}} | |issue = {{{issue|}}} | ||
|fix = {{{fix|}}} | |fix = {{{fix|}}} |