「テンプレート:Ambox」の版間の差分
(挂删:不再使用) (タグ: Automation tool、置換) |
細 (为什么挂删 //Rollback) (タグ: 巻き戻し) |
||
1行目: | 1行目: | ||
− | < | + | {{#switch:{{{small|}}} |
+ | | left = | ||
+ | {{ambox/core | ||
+ | | small = left | ||
+ | | type = {{{type|}}} | ||
+ | | image = {{#if:{{{smallimage|}}} | ||
+ | | {{{smallimage}}} | ||
+ | | {{{image|}}} | ||
+ | }} | ||
+ | | imageright = {{#if:{{{smallimageright|}}} | ||
+ | | {{{smallimageright}}} | ||
+ | | {{{imageright|}}} | ||
+ | }} | ||
+ | | style = {{{style|}}} | ||
+ | | textstyle = {{{textstyle|}}} | ||
+ | | text = {{#if:{{{smalltext|}}} | ||
+ | | {{{smalltext}}} | ||
+ | | {{{text}}} | ||
+ | }} | ||
+ | }} | ||
+ | | #default = | ||
+ | {{ambox/core | ||
+ | | type = {{{type|}}} | ||
+ | | image = {{{image|}}} | ||
+ | | imageright = {{{imageright|}}} | ||
+ | | style = {{{style|}}} | ||
+ | | textstyle = {{{textstyle|}}} | ||
+ | | text = {{{text}}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | |||
+ | --><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:記事用メッセージボックス]]}}}}</noincludeonly> |