|
|
(6 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly> | | <includeonly> |
| {| class="alert {{ #if: {{{type|}}} | {{#switch: {{{type}}} | danger = alert-error | error = alert-error | success = alert-success | warning = | alert-info}} | alert-info }} }}" style="border-collapse: inherit;{{#if: {{{width|}}} | max-width: {{{width}}}; }}<!--
| | <div class="alert {{ #if: {{{type|}}} | {{#switch: {{{type}}} | danger = alert-danger | error = alert-danger | success = alert-success | warning = alert-warning|info = alert-info}} | alert-info }}">{{{text}}}</div><!-- |
| -->{{#if: {{{mini|}}} | padding: 0px 6px 0px 1px; margin: 0 0 1em; | padding: 3px 12px 3px 7px; margin: 0 auto 1em; text-align:center; }} {{{css|}}}"
| | --></includeonly><noinclude>[[Category:Notice templates|{{BASEPAGENAME}}]] |
| |-
| |
| | style="vertical-align: middle;" | {{#if: {{{icon|}}} | <i class="{{{icon}}}"></i> |}}
| |
| | style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}{{#if:{{{discussAnchor|}}} | #{{{discussAnchor}}} }}|Discuss]]</sup> }} }}<!--
| |
| -->{{#if: {{{text|}}} | {{#if: {{{title|}}} | <div>{{{text}}}</div> | {{{text}}} }} }} | |
| |}</includeonly><noinclude>[[Category:Notice templates|{{BASEPAGENAME}}]]
| |
| {{documentation}}</noinclude> | | {{documentation}}</noinclude> |