Jump to content

Template:Notice: Difference between revisions

Created page with "<table class="plainlinks ambox {{#switch:{{{type|}}} | destroy = ambox-speedy | delete = ambox-delete | content = ambox-content | style = ambox-style | move..."
m (Changed protection level for "Template:Notice": extensively used in mediawiki message; also is already fprot via cascading ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)))
(Created page with "<table class="plainlinks ambox {{#switch:{{{type|}}} | destroy = ambox-speedy | delete = ambox-delete | content = ambox-content | style = ambox-style | move...")
Line 1: Line 1:
{{Mbox
<table class="plainlinks ambox
| name      = Notice
{{#switch:{{{type|}}}
| demospace  = {{{demospace|}}}
| destroy    = ambox-speedy
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| delete    = ambox-delete
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| content    = ambox-content
| type      = notice
| style      = ambox-style
| image     = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
| move      = ambox-move
| small      = {{{small|}}}
| protect    = ambox-protection
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
| complete  = ambox-completar
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| notice       
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
| #default  = ambox-notice
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
}}" style="{{{style|}}}">
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
<tr>
}}<noinclude>
{{#ifeq:{{{image|}}}|none
{{Documentation}}
| <!-- No image --><td style="border: none; padding: 1px;"></td>
</noinclude>
| <td class="mbox-image" style="{{{imagestyle|}}}" ><div style="width: 52px;">
  {{#ifeq:{{{image|}}}|empty
  | &nbsp;
  | {{#if:{{{image|}}}
    | {{{image}}}
    | [[File:{{#switch:{{{type|}}}
      | destroy    = Ambox warning pn.svg
      | delete    = Ambox warning pn.svg
      | content    = Ambox Content.svg
      | style      = Ambox rewrite gold.svg
      | move      = Merge-split-transwiki default.svg
      | protect    = Padlock-silver-medium.svg
      | complete  = Ambox rewrite gold.svg
      | notice        <!-- notice = default -->
      | #default  = Information icon4.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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.