Шаблон:Ambox — разлика између измена

Садржај обрисан Садржај додат
м Бот: Превод
Нема описа измене
Ред 1:
{{#ifeq:{{{subst}}}|SUBST
<table class="metadata plainlinks ambox
|{{#switchif:{{{typename|}}}
|{{error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
| speedy = ambox-speedy
}}[[Category:Pages with incorrectly substituted templates]]
| delete <!-- delete = serious -->
}}{{#ifeq:{{{small}}}|left
| serious = ambox-delete
|{{Ambox/core
| content = ambox-content
| style |small = ambox-styleleft
| move |type <!-- move = merge -->{{{type|}}}
| merge |image = ambox-move{{#if:{{{smallimage|}}}
|{{{smallimage}}}
| protection = ambox-protection
|{{{image|}}}
| notice <!-- notice = default -->
}}
| #default = ambox-notice
|imageright = {{#if:{{{smallimageright|}}}
}}" style="{{{style|}}}">
|{{{smallimageright}}}
<tr>
|{{#ifeq:{{{imageimageright|}}}|none
}}
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
|class = {{{class|}}}
| <td class="ambox-image"><div style="width: 52px;">
|style = {{#ifeq:{{{imagestyle|}}}|blank
|textstyle = {{{textstyle|}}}
| &nbsp;
|text = {{#if:{{{imagesmalltext|}}}
| {{{imagesmalltext}}}
| {{#switch:{{{type|text}}}
}}
| speedy = [[Слика:Ambox speedy deletion.png|40x40px]]
}}
| delete
|{{Ambox/core
| serious = [[Слика:Ambox deletion.png|40x40px]]
|type = {{{type|}}}
| content = [[Слика:Ambox content.png|40x40px]]
| styleimage = [[Слика:Ambox style.png{{{image|40x40px]]}}}
{{#if: |imageright = {{{imageright|}}}
| move
| mergeclass = [[Слика:Ambox move.png{{{class|40x40px]]}}}
}}" |style =" {{{style|}}}">
| protection = [[Слика:Ambox protection.png|40x40px]]
|textstyle = {{{textstyle|}}}
| notice <!-- notice = default -->
|text = {{{text}}}
| #default = [[Слика:Ambox notice.png|40x40px]]
|date = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
}}
|{{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|{{{date|}}}
}}
}}
}}{{uredivanje kategorija
|main={{ambox/category
|cat={{{cat|{{{category|}}}}}}
|date={{{date|}}}
|all={{{all|}}}
}}
|template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|<!--We are on a rootpage, not a /doc or /sandbox page-->{{#ifeq:{{{nocat|}}}|true
| <!--Don't categorise-->
| [[Category:Article message boxes|{{BASEPAGENAME}}]]
}}
}}</div></td>
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
}}
|{{#ifeq:{{{doc}}}|no|
<td class="ambox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
|{{documentation}}<!-- Transclude documentation on template page -->
{{#if:{{{imageright|}}}
}}
| <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td>
</table>}}<noinclude>
}}
</tr>
</table><noinclude>
 
{{pp-template|small=yes}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->