Difference between revisions of "Template:Notice"

From Timelines
Jump to: navigation, search
(minor markup fixes. no output impact)
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)))
 
(24 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{ mbox
+
{{Mbox
 
| name      = Notice
 
| name      = Notice
| style      = {{{style|}}}
 
| textstyle  = {{{textstyle|}}}
 
| subst      = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
 
| demospace  = {{{demospace|}}}
 
| demospace  = {{{demospace|}}}
| image      = {{#if:{{{image|}}}|[[file:{{{image}}}|40px|Notice]]}}
+
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
 +
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
 +
| type      = notice
 +
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}}
 
| small      = {{{small|}}}
 
| small      = {{{small|}}}
| smallimage = {{#if:{{{image|}}}|[[file:{{{image}}}|30px|Notice]]}}
+
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
| text      = {{#if:{{{header|}}}|<div style="text-align: center">'''{{{header}}}'''</div>}}{{{text|{{{1}}}}}}
+
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
 
+
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
+
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 +
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 +
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 11:33, 9 December 2016

Template documentation[create]