「Template:Ambox」の版間の差分
削除された内容 追加された内容
m 英語版と同様にstyleの画像変更、move追加 |
from Template:Ambox/sandbox 2010-05-23T10:07:29Z User:新幹線 ノートページによる |
||
1行目:
{{#switch:{{{small|{{#if:{{{section|}}}|section}}}}}
| left =
{{Ambox/core/sandbox
| small = left
|
|
| {{{image|}}}
|
| {{{smallimage-file}}}
| {{{image-file|}}}
}}
| image-size = {{#if:{{{smallimage-size|{{{image-size-section|}}}}}}
| {{{smallimage-size|{{{image-size-section}}}}}}
| 20x20
}}
| imageright = {{#if:{{{smallimageright|}}}
| {{{smallimageright}}}
| {{{imageright|}}}
}}
| imageright-file = {{#if:{{{smallimageright-file|}}}
| {{{smallimageright-file}}}
}}
| imageright-size =
| {{
| 20x20
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}}
| textstyle = {{{textstyle|}}}
| text
| {{{smalltext|{{{text-section}}}}}}
| printable
}}
| section =
{{Ambox/core/sandbox
| small
| type
| image
| {{{smallimage}}}
|
}}
| image-file = {{#if:{{{smallimage-file|}}}
| {{{image-file|}}}
}}
| image-size = {{#if:{{{smallimage-size|{{{image-size-section|}}}}}}
| {{{smallimage-size|{{{image-size-section}}}}}}
| 25x25
}}
| {{{smallimageright}}}
| {{{imageright|}}}
}}
| imageright-file = {{#if:{{{smallimageright-file|}}}
| {{{smallimageright-file}}}
| {{{imageright-file|}}}
}}
| imageright-size = {{#if:{{{smallimageright-size|{{{imageright-size-section|{{{smallimage-size|{{{image-size-section|}}}}}}}}}}}}
| {{{smallimageright-size|{{{imageright-size-section|{{{smallimage-size|{{{image-size-section}}}}}}}}}}}}
| 25x25
}}
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}}
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|{{{text-section|}}}}}}
| {{{smalltext|{{{text-section}}}}}}
| {{{text}}}
}}
| printable = {{{printable|}}}
}}
| #default =
{{Ambox/core/sandbox
| type = {{{type|}}}
| image = {{{image|}}}
| image-file = {{{image-file|}}}
| image-size = {{#if:{{{image-size|}}}
| {{{image-size}}}
| 40x40
}}
| imageright = {{{imageright|}}}
| imageright-file = {{{imageright-file|}}}
| imageright-size = {{#if:{{{imageright-size|{{{image-size|}}}}}}
| {{{imageright-size|{{{image-size}}}}}}
| 40x40
}}
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}}
| textstyle = {{{textstyle|}}}
| text = {{{text}}}
| printable = {{{printable|}}}
}}
}}<!--
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:記事用メッセージボックス]]}}}}</includeonly><!--
--><noinclude>{{Documentation}}
|