틀:Imbox: 두 판 사이의 차이

Revi HQ
내용 추가됨 내용 삭제됨
(Fixing the empty "image=" parameter bug. Dropping the "image=blank" option. (Tested in sandbox.))
잔글 (wikipedia:en:Template:Imbox에서 판 56개를 가져왔습니다: import from enwiki)
 
(사용자 10명의 중간 판 26개는 보이지 않습니다)
1번째 줄: 1번째 줄:
{{#invoke:Message box|imbox}}<noinclude>
<table class="metadata plainlinks" style="margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; background: #fbfbfb;
{{documentation}}
{{#switch:{{{type|}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| speedy = border: 3px solid #b22222; background: #fee;
| delete = border: 3px solid #b22222;
| content = border: 3px solid #f28500;
| style = border: 3px solid #f4c430;
| move = border: 3px solid #9932cc;
| protection = border: 3px solid #bba;
| license = border: 3px solid #88a; background: #f7f8ff;
| featured = border: 3px solid #cba135;
| notice <!-- notice = default -->
| #default = border: 3px solid #1e90ff;
}} {{{style|}}}">
<tr>
<td style="border: none; padding: 2px 0px 2px 0.5em; text-align: center;">
{{#ifeq:{{{image|}}}|none
| <!-- No image cell; empty cell necessary for text cell to have 100% width -->
| <div style="width:52px;">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Image:Imbox speedy deletion.png|40x40px]]
| delete = [[Image:Imbox deletion.png|40x40px]]
| content = [[Image:Imbox content.png|40x40px]]
| style = [[Image:Imbox style.png|40x40px]]
| move = [[Image:Imbox move.png|40x40px]]
| protection = [[Image:Imbox protection.png|40x40px]]
| license = [[Image:Imbox license.png|40x40px]]
| featured = [[Image:Imbox featured.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Imbox notice.png|40x40px]]
}}
}}</div>
}}</td>
<td style="border: none; padding: 0.25em 0.5em; width: 100%; {{{textstyle|}}}">{{{text}}}</td>
{{#if:{{{imageright|}}}
| <td style="border: none; padding: 2px 0.8em 2px 0px; text-align: center;"> {{{imageright}}} </td>
}}
</tr>
</table><noinclude>

{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

2021년 1월 8일 (금) 11:45 기준 최신판

Template documentation[create]