|
|
Line 1: |
Line 1: |
| <table class="ambox" style="clear: both; text-shadow: {{{textshadow|none}}}; -webkit-text-stroke: {{{textstroke|none}}}; width: {{{width|80%}}}; {{#if:{{{bg|}}}|background:{{{bg}}};|background-color: #{{{bgcolor|fefefe}}};}} border-color:#{{{outerbordercolor|{{{bordercolor|AAB}}}}}} #{{{outerbordercolor|{{{bordercolor|AAB}}}}}} #{{{outerbordercolor|{{{bordercolor|AAB}}}}}} #{{{bordercolor|999}}}; border-style: solid; border-width: 1px 1px 1px 10px; padding: 4px; margin: 1px auto; vertical-align: middle; text-align: left;"><tr><td width="{{#expr: {{{imgwidth|64}}}+8 }}px" height="{{{height|auto}}}">[[File:{{{img|Nuvola apps important.svg}}}|{{{imgwidth|64}}}px]]</td><td style="vertical-align: middle"><!-- | | <includeonly>{|class="metadata plainlinks ambox {{#if:{{{mini|}}}|ambox-mini}} {{#switch:{{{type|}}}|delete|serious|content|style|good|discussion|notice|merge=ambox-{{{type}}}|ambox-talk}}" {{#if:{{{style|}}}|style="{{{style}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{data-label-1|}}}|data-{{{data-label-1|}}}="{{{data-value-1}}}"}} {{#if:{{{data-label-2|}}}|data-{{{data-label-2|}}}="{{{data-value-2}}}"}} {{#if:{{{data-label-3|}}}|data-{{{data-label-3|}}}="{{{data-value-3}}}"}} |
| -->{{#if: {{{title|}}} | '''{{{title}}}'''<br />}}<!--
| | {{#ifeq:{{{image|}}}|none||{{!}}class="ambox-image"{{!}}<div>{{#ifeq:{{{image}}}|blank|<span style="visibility:hidden;"> </span>|{{#switch:{{{image|{{{type}}}}}}|delete|serious=[[File:Stop hand nuvola.svg|40px|Критические проблемы]]|content=[[File:Emblem-important.svg|40px|Проблемы с содержанием статьи]]|style=[[File:Broom icon.svg|40px|Стилевые проблемы]]|good=[[File:Green star boxed.svg|40px|Статус статьи]]|discussion=[[File:Nuvola apps ksirc.png|40px|Обсуждение]]|merge=[[File:Merge-split-transwiki default.svg|40x40px|Перенос содержимого]]|notice=[[File:Information.svg|40px|Информация]]|#default={{{image|[[File:Information.svg|40px|Информация]]}}}}}}}</div>}} |
| -->{{{text|Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In est libero, tristique vel, vestibulum a, aliquam sit amet, nisl. Curabitur suscipit euismod sapien. Nullam ligula.}}}<!--
| | |class="ambox-text"|{{{text|<span style="font-size:smaller;color:#AAAAAA">Параметр ''text'' не задан</span>}}}{{#if:{{{text-small|}}}|<div class="ambox-text-small">{{{text-small}}}</div>}} |
| --></td></tr></table><noinclude>[[Category:Templates]]{{doc}}</noinclude>
| | {{#if:{{{imageright|}}}|{{!}}class="ambox-imageright"{{!}}<div>{{{imageright}}}</div>}} |
| | |class="widthhack"|<!-- a hack for some cases to keep the box wide --> |
| | |}</includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude> |
Template info
A template for creating infoboxes. A more compact alternative to the Article message box meta-template of Wikipedia.
Application
The most concise option is the one below (with the only required parameter: text):
However, for a more accurate description of the situation, it is recommended to use the extended version, with filling in other parameters.
Parameters
type
{{Ambox|type=|text=}}
mini
{{Ambox|text=|mini=(any non-empty value)}}
text-small
{{Ambox|text=Plain text.|text-small=Small text.}}
imageright
{{Ambox|text=Text|imageright=[[Image:Github-48.png|40px]]}}