Jump to content

Template:Notice: Difference between revisions

417 bytes removed ,  5 years ago
remove invalid css
No edit summary
(remove invalid css)
Line 1: Line 1:
<table class="plainlinks ambox
{{Mbox
{{#switch:{{{type|}}}
| name      = Notice
| destroy    = ambox-speedy
| demospace  = {{{demospace|}}}
| delete    = ambox-delete
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
| content    = ambox-content
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| style      = ambox-style
| type      = notice
| move      = ambox-move
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
| protect    = ambox-protection
| small      = {{{small|}}}
| complete  = ambox-completar
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
| notice       
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| #default  = ambox-notice
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
}}" style="{{{style|}}}">
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
<tr>
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
{{#ifeq:{{{image|}}}|none
}}<noinclude>
| <!-- No image --><td style="border: none; padding: 1px;"></td>
{{Documentation}}
| <td class="mbox-image" style="{{{imagestyle|}}}" ><div style="width: 52px;">
</noinclude>
  {{#ifeq:{{{image|}}}|empty
  | &nbsp;
  | {{#if:{{{image|}}}
    | {{{image}}}
    | [[File:{{#switch:{{{type|}}}
      | destroy    = Ambox warning pn.svg
      | delete    = Circle-icons-caution.svg
      | content    = Circle-icons-document.svg
      | style      = Circle-icons-compose.svg
      | move      = Circle-icons-merge.svg
      | protect    = Circle-icons-locked.svg
      | complete  = Circle-icons-compose.svg
      | notice        <!-- notice = default -->
      | #default  = Circle-icons-booklet.svg
      }}|40x40px|link=]]
    }}
  }}</div></td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{rightimage|}}}
| <td class="mbox-imageright"><div style="width: 52px;"> {{{rightimage}}} </div></td>
}}
</tr>
</table>
<noinclude>
This template is used to create notice templates. Please, do not use this template directly on an article.
[[Category:Templates]]</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.