差分

Template:Mbox

2,811 バイト追加2014年3月30日 (日) 15:16
{{#ifeq:{{NAMESPACE}}|{{ns:14}} |{{cmbox|style={{{style|}}}|text={{{text|}}}|textstyle={{{textstyle|}}}|type={{{type|}}}|image={{{image|}}}|imageright={{{imageright|}}}|lang={{{lang|}}}|langlinks={{{langlinks|}}}}} | <table class="plainlinks" style="margin:4px; border-collapse:collapse; background:#fbfbfb; border:2px solid #c0c090; {{#switch:{{{type|}}} | warning = border:2px solid #b22222; background:#ffdbdb; | serious = border:2px solid #b22222; | speedy = border:2px solid #b22222; background:#ffdbdb; | delete = border:2px solid #b22222; | content = border:2px solid #f57900; | issue = border:2px solid #f57900; | query = border:2px solid #fce94f; | style = border:2px solid #fce94f; | license = border:2px solid #8888aa; background:#f8f8f8; | legal = border:2px solid #666; background:#fff; | honor = border:2px solid #cba135; background:#fcf4dc; | growth = border:2px solid #73d216; background:#fff; | move = border:2px solid #9932cc; | protection = border:2px solid #bba; | message = border:1px solid #aaa; background:#f9f9f9; | notice | #default = border:2px solid #608ec2; background:#fbfcff; }} direction: {{Dir|{{{lang|}}}}}; {{{style|}}}"> <tr> {{#ifeq:{{{image|}}}|none | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border:none; padding:1px;"></td> | <td style="border:none; padding-top:2px; padding-bottom:2px; padding-{{#ifeq:{{Dir|{{{lang|}}}}}|rtl|right|left}}:.9em; text-align:center;"> {{#if:{{{image|}}} | {{{image}}} | {{#switch:{{{type|}}} | warning = [[File:Gnome-emblem-urgent.svg |45px]] | serious = [[File:Gnome-emblem-important.svg|45px]] | speedy = [[File:Gnome-emblem-urgent.svg |45px]] | delete = [[File:Gnome-emblem-important.svg|45px]] | content = [[File:Commons-emblem-issue.svg|45px]] | issue = [[File:Commons-emblem-issue.svg|45px]] | query = [[File:Commons-emblem-query.svg|45px]] | style = [[File:Gnome-edit-clear.svg|45px]] | license = [[File:Commons-emblem-copyright.svg|45px]] | legal = [[File:Commons-emblem-legal.svg|45px]] | honor = [[File:Gnome-help-about.svg|45px]] | growth = [[File:Dialog-apply.svg|45px]] | move = [[File:Gnome-go-next.svg|45px]] | protection = [[File:Gnome-security-medium.svg|45px]] | message = [[File:Information icon4.svg|45px]] | notice | #default = [[File:Commons-emblem-notice.svg|45px]] }} }}</td> }} <td style="border:none; padding:.25em .9em; width:100%; {{{textstyle|}}}">{{{text}}}</td> {{#if:{{{imageright|}}} | <td style="border:none; padding:2px .9em 2px 0; text-align:center;">{{{imageright}}}</td> }} </tr></table><!-- Most templates made based on this template do not comply with [[Help:Authoring a license-template]] -->{{#ifeq:{{{type}}}|license|[[Category:Licensing templates based on Mbox]]}} }}<noinclude> {{documentation}} </noinclude>
ビューロクラット管理者
245
回編集