틀:Tmbox: 두 판 사이의 차이

Revi HQ
내용 추가됨 내용 삭제됨
(copy from sandbox)
(Changed design based off of Wikipedia:Deletion message boxes by User:Edokter)
1번째 줄: 1번째 줄:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{
<table class="metadata plainlinks tmbox {{
#switch: {{{type|}}}
#switch: {{{type|}}}
| serious = ambox-serious
| serious = tmbox-serious
| content = ambox-content
| content = tmbox-content
| style = ambox-style
| style = tmbox-style
| merge = ambox-merge
| merge = tmbox-merge
| notice = ambox-notice
| notice = tmbox-notice
| #default = ambox-notice
| #default = tmbox-notice
}}" style="width: 80%; margin: 0 auto; background-color: #ecfcf4; line-height: 1.5em; font-size: xx-small; color: #000000; text-align: center; border: 1px solid #aaa; border-left: 5px solid #b22222; {{{style|}}}">
}}">
<tr>
<tr>
{{
{{
#ifeq: {{{image}}} | none
#ifeq: {{{image}}} | none
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| <td class="ambox-image" style="width:52px">{{
| <td class="ambox-image" style="width:26px">{{
#switch: {{{image|{{{type|}}}}}}
#switch: {{{image|{{{type|}}}}}}
| serious = [[Image:Stop hand nuvola.svg|40px]]
| serious = [[Image:Stop hand nuvola.svg|20px]]
| content = [[Image:Emblem-important.svg|40px]]
| content = [[Image:Emblem-important.svg|20px]]
| style = [[Image:Broom icon.svg|40px]]
| style = [[Image:Broom icon.svg|20px]]
| merge = [[Image:Merge-split-transwiki default.svg]]
| merge = [[Image:Merge-split-transwiki default.svg]]
| notice = [[Image:Info non-talk.png|40px]]
| notice = [[Image:Info non-talk.png|20px]]
| blank = [[Image:No image.svg]]
| blank = [[Image:No image.svg]]
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
| #default = {{{image|[[Image:Info non-talk.png|20px]]}}}
}}</td>
}}</td>
}}
}}
<td class="ambox-text">{{{text}}}</td>
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
{{
{{
#if: {{{imageright|}}}
#if: {{{imageright|}}}
| <td class="ambox-imageright" style="width:52px">{{{imageright}}}</td>
| <td class="ambox-imageright" style="width:26px">{{{imageright}}}</td>
}}
}}
</tr>
</tr>
</table><noinclude>
</table><noinclude>
{{documentation}}
{{ Template sandbox notice }}
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

2008년 5월 12일 (월) 10:51 판

Template documentation[create]