Difference between revisions of "Template:Notice"

From Yugipedia
Jump to: navigation, search
(from wikipedia:Template:Notice (because there's been several times I've wanted just a generic {{Notice}} template for various things around here))
 
(remove invalid css)
Line 1: Line 1:
 
{{Mbox
 
{{Mbox
 
| name      = Notice
 
| name      = Notice
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
+
| demospace  = {{{demospace|}}}
| textstyle  = {{{textstyle|}}}
+
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
 
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
 
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| demospace  = {{{demospace|}}}
+
| type      = notice
 
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|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]]}}
 
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
 
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| text      = {{#if:{{{header|{{{heading|}}}}}} |<div style="text-align:center;">'''{{{header|{{{heading}}}}}}'''</div>}}<!--
+
| textstyle = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
             -->{{{text|{{{1}}}}}}
+
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 +
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 07:51, 24 May 2018