匿名利用者
Template:Amboxなどと引数を共通化
(CSS導入に付き除去) |
*>新幹線 (Template:Amboxなどと引数を共通化) |
||
1行目: | 1行目: | ||
<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes| | <table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| speedy = ombox-speedy | | speedy = ombox-speedy | ||
12行目: | 12行目: | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border: none; padding: 0px; width: 1px;"></td> | ||
| <td class="mbox-image"> | | <td class="mbox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image-file|}}} | ||
| {{{image}}} | | [[File:{{{image-file}}}|{{{image-size}}}px]] | ||
| [[ | | {{#if:{{{image|}}} | ||
| {{{image}}} | |||
| [[File:{{#switch:{{{type|}}} | |||
| speedy = Imbox speedy deletion.png | |||
| delete = Imbox deletion.png | |||
| content = Imbox content.png | |||
| style = Imbox style.png | |||
| move = Imbox move.png | |||
| protection = Imbox protection.png | |||
| notice <!-- notice = default --> | |||
| #default = Imbox notice.png | |||
}} | {{{image-size}}}px ]] | |||
}} | |||
}}</td> | }}</td> | ||
}} | }} | ||
32行目: | 35行目: | ||
| {{#ifeq:{{{imageright|}}}|none | | {{#ifeq:{{{imageright|}}}|none | ||
| <!-- No image. --> | | <!-- No image. --> | ||
| <td class="mbox-imageright"> {{{imageright}}} </td> | | <td class="mbox-imageright"> {{#if:{{{imageright-file|}}} | ||
| [[画像:{{{imageright-file}}}|{{{imageright-size}}}px]] | |||
| {{{imageright}}} | |||
}}</td> | |||
}} | }} | ||
}} | }} | ||
46行目: | 52行目: | ||
| protection | | protection | ||
| notice = <!-- Do nothing, valid "type" --> | | notice = <!-- Do nothing, valid "type" --> | ||
| #default = [[Category:Wikipedia message box parameter needs fixing|{{ | | #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{Main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | ||
}}<noinclude> | }}<noinclude> | ||
{{ | {{Documentation}} | ||
</noinclude> | </noinclude> |