Открыть главное меню

Вики LessWrong.ru β

Изменения

Шаблон:Ambox

885 байт добавлено, 17:36, 29 мая 2017
м
Нет описания правки
<includeonly>{|table class="metadata plainlinks ambox {{#switch:{{{small|}}}| left = mbox-small-left}}" style="margin:2px 10%;{{#if:{{{ministacked|}}}|amboxmargin-top:-mini3px;}} {{#switch:{{{type|}}}| danger = background:#FAA;border:1px solid #AAA;border-{{Dir|deletelang={{{lang|serious}}}|contentrtl=right|styleltr=left}}:10px #B22222 solid;|goodwarning = background:#FDD;border:1px solid #AAA;border-{{Dir|discussionlang={{{lang|notice}}}|mergertl=right|protectionltr=left}}:10px #B22222 solid;| caution =amboxbackground:#FFA;border:1px solid #AAA;border-{{Dir|lang={{{typelang|}}}|ambox-talkrtl=right|ltr=left}}" :10px #F28500 solid;| approval = background:#DFD;border:1px solid #AAA;border-{{Dir|lang={{{lang|}}}|rtl=right|ltr=left}}:10px #00FF00 solid;| proposal = background:#ifE4D8FF;border:1px solid #AAA;border-{{Dir|lang={style{{lang|}}}|stylertl=right|ltr=left}}:10px #9933CC solid;| detail = background:#FBFBFB;border:1px solid #AAA;border-{{Dir|lang="{{{stylelang|}}}"|rtl=right|ltr=left}}:10px #F4C430 solid;| protection = background:#FBFBFB;border:1px solid #AAA;border-{{#ifeq:Dir|lang={{{imagelang|}}}|nonertl=right|ltr=left}}:10px #BBA solid;| notice<!-- = default -->|#default = background:#FBFBFB;border:1px solid #AAA;border-{{Dir|lang={{!{lang|}}}class|rtl=right|ltr="ambox-image"left}}:10px #1E90FF solid;}}{{{!style|}}}"><divtr>{{#ifeqswitch:{{{image|}}}|blank<!-- Fall back to "none", since deprecated. -->|none = <span td class="mbox-empty-cell" style="visibilitywidth:1px;border:hiddennone;padding:0">&nbsp;</spantd><!-- No image. Cell with some width or padding necessary for text cell to have 100% width. -->|{{#switchdefault = <td class="mbox-image" style="border:none;padding:2px 0;padding-{{{imageDir|lang={{{type}}}lang|}}}|deletertl=right|seriousltr=[[Imageleft}}:Stop hand nuvola0.svg|40px|Критические проблемы]]|content=[[Image:Emblem9em;text-important.svg|40px|Проблемы с содержанием статьи]]|style=[[Imagealign:Broom icon.svg|40px|Стилевые проблемы]]|good=[[Imagecenter">{{#switch:Green star boxed.svg{{{small|40px|Статус статьи]]}}} |discussionleft =[[Image:Nuvola apps ksirc.png|40px|Обсуждение]]|merge=[[Image:Merge<!-- Don't use the DIV -split-transwiki > | #default.svg|40x40px|Перенос содержимого]]|notice=[[Image:Information.svg|40px|Информация]]|protection<div style=[[Image"width:Padlock.svg|40x40px|Защита]]|52px;"> }}{{#default=if:{{{image|[[Image:Information.svg}}} |40px{{{image}}} |Информация]]&nbsp; }}{{#switch:{{{small|}}} | left = <!-- Don't use the /DIV --> | #default = </div> }}</divtd>}}|<td class="amboxmbox-text"|{{{text|<span style="font-sizewidth:100%;border:smallernone;colorpadding:#AAAAAA">Параметр&nbsp0.25em 0.9em;''text'' не&nbsp-align:center;задан</span>{{{textstyle|}}}">{{#if:{{{text-smalledit|}}}|<div classstyle="ambox-text-smallfloat:{{Dir|lang={{{lang|}}}|rtl=left|ltr=right}}">{{Edit|{text-small{{edit|}}}}}</div>}}{{{text|}}}</td>{{#if:{{{imageright|}}}|{{!#ifeq:{{{imageright|}}}|none | <!-- No image. --> | <td class="amboxmbox-imageright"style="border:none;padding:2px 0;padding-{{!Dir|lang={{{lang|}}}|rtl=left|ltr=right}}<div:0.9em;text-align:center">{{#switch:{{{imagerightsmall|}}} | left = {{{imageright|}</div>}} |class#default = <div style="widthhackwidth:{{{imagerightwidth|52}}}px">{{{imageright|}}}<!-- a hack for some cases to keep the box wide --/div>| }}</includeonlytd> }}}}<noinclude/tr>[[Категория:Шаблоны для шаблонов|Ambox]][[Категория:Шаблоны без документации]]</noincludetable>