“模板:Ambox”的版本间的差异
BearKidsTeam(讨论 | 贡献) |
BallanceBug(讨论 | 贡献) 小 (撤销BallanceBug(讨论)的版本1602) (1个标签:撤销) |
||
(未显示2个用户的3个中间版本) | |||
第1行: | 第1行: | ||
− | {{# | + | {{Ambox/{{#ifeq:{{{small}}}|left|small|core}} |
− | | left | + | |type = {{{type|}}} |
− | + | |image = {{{image|}}} | |
− | + | |smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}} | |
− | + | |imageright = {{{imageright|}}} | |
− | + | |smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}} | |
− | + | |class = ambox-{{#switch:{{{type|}}} | |
− | + | |speedy = speedy | |
− | + | |delete = delete | |
− | + | |content = content | |
− | + | |style = style | |
− | + | |move = move | |
− | + | |protection = protection | |
− | | style | + | |notice|#default = notice |
− | + | }} {{{class|}}} | |
− | + | |style = {{{style|}}} | |
− | + | |textstyle = {{{textstyle|}}} | |
− | + | |smalltext = {{{smalltext|}}} | |
− | + | |talk = {{#switch:{{{talk|¬}}} | |
− | + | |¬ = <!-- No talk link used --> | |
− | | #default = | + | | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}} |
− | + | |#default = {{{talk}}} | |
− | + | }} | |
− | + | |issue = {{{issue|}}} | |
− | + | |fix = {{{fix|}}} | |
− | | | + | |date = {{#switch:{{#if:{{{date|}}}|{{{date}}}|{{{time|¬}}}}} |
− | | | + | |¬ = <!-- No date/time used --> |
− | + | | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{#time:Y年n月j日}}}} | |
− | + | |#default = {{#if:{{{date|}}}|{{{date}}}|{{#time:Y年n月j日|{{{time}}}}}}} | |
+ | }} | ||
+ | |info = {{{info|}}} | ||
}} | }} |