開啟主選單

求真百科

變更

Template:Ombox

移除 2,225 位元組, 6 年前
导入1个版本
<table class="metadata plainlinks ombox {{#switchifeq:{{{small|}}}| left = mbox-small-leftyes}} " style="{{{style|}}}margin:0 10% 1.5em;border:1px solid #AAAAAA;{{#switch:{{{type|}}}| speedy = background:#FFDDDD;border-left:1px #BBBBAA solid;| delete = background:#FBFBFB;border-left:1px #BBBBAA solid;| content = background:#FBFBFB;border-left:1px #BBBBAA solid;| approval = background:#FBFBFB;border-left:1px #BBBBAA solid;| move = background:#FBFBFB;border-left:1px #BBBBAA solid;| style = background:#FBFBFB;border-left:1px #BBBBAA solid;| protection = background:#FBFBFB;border-left:1px #BBBBAA solid;| notice<!-- = default -->| #default = background:#FBFBFB;border-left:1px #BBBBAA solid;}}{{#if:{{{stacked|}}}|border-top:-1px;}}"><tr>{{#switch:{{{image|}}}| blank <!-- Fall back to "none", since deprecated. -->| none =ombox/core <td class="mbox-empty-cell" style="width:1px;border:none;padding:0;"></td><!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->| #default = <td class="mbox-image" style="border:none;padding:2px 0 2px 0.9em;text-align:center;">{{#switch:{{{small|}}} | left = <!-- Don't use the DIV -->yes | #default = <div styletype ="width:52px;"> }}{{#if:{{{imagetype|}}} | {{{image}}} | {{#switch:{{{type|}}} | speedy = [[File:Ambox speedy deletion.png|Speedy|{{#switchif:{{{smallsmallimage|}}}|left=20x20px|#default=40x40px}}|link=]] | delete = [[File:Ambox deletion.png|Delete|{{#switch:{{{small|smallimage}}}|left=20x20px|#default=40x40px}}|link=]] | content = [[File:Ambox content.png|Content|{{#switch:{{{smallimage|}}}|left=20x20px|#default=40x40px}}|link=]] | approval = [[File:Thumb up icon.svg|Approval|{{#switch:{{{small|}}}|left=20x20px|#defaultimageright =40x40px}}|link=]] | move = [[File:Ambox_move.png|Move|{{#switchif:{{{smallsmallimageright|}}}|left=20x20px|#default=40x40px}}|link=]] | style = [[File:Edit-clear.svg|Style|{{#switch:{{{small|}smallimageright}}|left=20x20px|#default=40x40px}}|link=]] | protection = [[File:Ambox protection.png|Protection|{{#switch:{{{smallimageright|}}}|left=20x20px|#default=40x40px}}|link=]] | notice<!-- = default --> | #default = [[File:Ambox notice.png|Information|{{#switch:{{{small|}}}|left=20x20px|#default=40x40px}}|linkstyle =]] }} }}{{#switch:{{{smallstyle|}}} | left textstyle = <!-- Don't use the /DIV --> | #default = </div> }}</td>}}<td class="mbox-text" style="{{{textstyle|}}}width:100%;border:none;padding:0.25em 0.9em;text-align:left;">{{{text|}}}</td>{{#if:{{{imageright|}}}| {{#ifeq:{{{imageright|}}}|none | <!-- No image. --> | <td class="mbox-imageright" styletext ="border:none;padding:2px 0.9em 2px 0;text-align:center;">{{#switchif:{{{smallsmalltext|}}} | left = {{{imageright|smalltext}}} | #default = <div style="width:{{{imagerightwidth|52}}}px;">{{{imageright|text}}}</div> }}</td>
}}
| {{ombox/core | type = {{{type|}}} | image = {{{image|}}} | imageright = {{{imageright|}}} | style = {{{style|}}} | textstyle = {{{textstyle|}}} | text = {{{text}}} }}</tr></table>}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
行政員使用者查核員拒收員巡檢員管理員、water、waterc、waterh、waterm、waterp、waters、watert、waterv、waterw、waterz
10,323
次編輯