Template:Ombox: Difference between revisions
Jump to navigation
Jump to search
w>MusikAnimal m 1 revision imported |
m Removed protection from "Template:Ombox": Maybe not a good idea for now |
||
| (7 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{# | <table class="messagebox plainlinks layouttemplate {{{lang|}}} {{{class|}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}" dir="{{dir|{{{lang|}}}}}"}} style="margin:2px {{#if:{{{margin|}}}|{{{margin|}}}|{{#if:{{{width|}}}|auto|10%}}}};width:{{#if:{{{width|}}}|{{{width|}}}|auto}};{{#switch:{{{type|}}} | ||
{{ | |warning |speedy = border:2px solid #b22222;background:#ffdbdb; | ||
<!-- | |serious |delete |stop = border:2px solid #b22222; | ||
|issue |content = border:2px solid #f28500;background:#ffe;<!--warn--> | |||
|query |style = border:2px solid #f4c430;background:#ffe;<!--cleanup--> | |||
|license = border:2px solid #88a; | |||
|legal = border:2px solid #666;background:#fff; | |||
|honor = border:2px solid #ca3;background:#fcf4db; | |||
|growth = border:2px solid #8d4;background:#f5fff5;<!--alt--> | |||
|move = border:2px solid #93c; | |||
|protection |message = border:2px solid #aaa;<!--none--> | |||
|notice |#default = border:2px solid #48d;background:#fbfcff;<!--info--> | |||
}}color:#222;border-{{Dir|{{{lang|}}}|right|left}}-width:8px;border-collapse:collapse;{{{style|}}}"><tr> | |||
{{#ifeq:{{{image|}}}|none | |||
| <td class="mbox-empty-cell"></td><!--No image. Cell with some width or padding necessary for text cell to have 100% width.--> | |||
| <td class="mbox-image" style="padding-{{Dir|{{{lang|}}}|right|left}}:.9em">{{#if:{{{image|}}} | |||
| {{{image|}}} | |||
| [[File:{{#switch:{{{type|}}} | |||
|warning = ombox-warning | |||
|speedy = ombox-reallydelete | |||
|serious |delete = ombox-delete | |||
|stop = ombox-stop | |||
|move = ombox-move | |||
|issue |content = ombox-issue | |||
|query = ombox-query | |||
|license = ombox-license | |||
|legal = ombox-legal | |||
|honor = ombox-honor | |||
|growth = ombox-growth | |||
|protection = ombox-protect | |||
|message = ombox-message | |||
|notice |#default = ombox-notice | |||
}}.png|45x45px|class=noviewer|{{#ifeq:{{NAMESPACE}}|Template||link=}}]] | |||
}}</td> | |||
}}<td class="mbox-text" {{#if:{{{textstyle|}}} | style="{{{textstyle|}}}" }}>{{{text|}}}</td>{{#if:{{{imageright|}}} | |||
| <td class="mbox-imageright">{{{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}}<!-- Imported from WikiMedia Commons, https://commons.wikimedia.org/wiki/Template:Mbox --> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 01:19, 2 June 2025