Difference between revisions of "Template:Notice"

From Timelines
Jump to: navigation, search
(Reverting edit by Lifebaka. {{mbox}} is not ready to be deployed yet. Please have some patience.)
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)))
 
(34 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{main talk other
+
{{Mbox
| demospace = {{{demospace|}}}
+
| name      = Notice
| 1 =   <!--Articles (main space)-->
+
| demospace = {{{demospace|}}}
  {{ambox | type=notice
+
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
  | image = [[Image:{{{image|Info non-talk.png}}}|40px|Notice]]
+
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
  | text = {{#if:{{{header|}}}|  
+
| type      = notice
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
+
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
    }}{{{1}}}
+
| small      = {{{small|}}}
  }}
+
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
| 2 =   <!--Talk pages-->
+
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
  <table class="messagebox
+
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
    {{#ifeq:{{{small|}}}|yes|small-talk|standard-talk}}">
+
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
  <tr><td>[[Image:{{{image|Info talk.png}}}|  
+
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
    {{#ifeq:{{{small|}}}|yes|30px|40px}}|Notice]]
 
  <td align="left" width="100%">{{#if:{{{header|}}}|  
 
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
 
    }}{{{1}}}
 
  </table>
 
| 3 =   <!--Other pages-->
 
  <table class="messagebox">
 
  <tr><td align="center">[[Image:{{{image|Info non-talk.png}}}|  
 
    40px|Notice]]
 
  <td align="left" width="100%">{{#if:{{{header|}}}|
 
      <div style="text-align:center;">'''Notice: {{{header}}}'''</div>
 
    }}{{{1}}}
 
  </table>
 
 
}}<noinclude>
 
}}<noinclude>
 
+
{{Documentation}}
{{pp-template|small=yes}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Latest revision as of 11:33, 9 December 2016

Template documentation[create]