Template:Notice: Difference between revisions

enwiki>Izno
per tper
 
Created page with "<div id="{{{id|}}}" class="article-table {{{class|}}}" style="display: grid; grid-template-columns: auto 1fr; grid-gap: 16px; font-size: 16px; line-height: 160%; width: 100%; padding: 8px 16px; margin-bottom: 4px; box-sizing: border-box; background: #7b7b7b3b; {{{style|}}};"> <div style="text-align: center;">{{{image|<span style="font-size:32px;">ℹ️️</span>}}}</div><div>'''{{{type|Header}}}'''<div style="margin-top: 8px; height: 4px; width: 200px; background: {{#sw..."
Line 1: Line 1:
{{Mbox
<div id="{{{id|}}}" class="article-table {{{class|}}}" style="display: grid; grid-template-columns: auto 1fr; grid-gap: 16px; font-size: 16px; line-height: 160%; width: 100%; padding: 8px 16px; margin-bottom: 4px; box-sizing: border-box; background: #7b7b7b3b; {{{style|}}};">
| name      = Notice
<div style="text-align: center;">{{{image|<span style="font-size:32px;">ℹ️️</span>}}}</div><div>'''{{{type|Header}}}'''<div style="margin-top: 8px; height: 4px; width: 200px; background: {{#switch:{{{border|}}}  
| demospace  = {{{demospace|}}}
  | red     = #fa005a
| style     = {{#if:{{{style|}}} |{{{style}}} }}
  | orange  = #ff7f26
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
  | yellow  = #ffc500
| type      = notice
  | purple  = #520044
| image      = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice|alt={{{imagealt|}}}]]}}
  | blue    = #86d7dc
| small     = {{{small|}}}
  | green    = #94d11f
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice|alt={{{imagealt|}}}]]}}
  | gray    = #838d86
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
  | #default = #838d86
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
}};"></div><div style="font-size: 12px; margin-top: 8px;">{{{info|{{{text|Notice text}}}}}}</div>
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
</div>
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
</div><includeonly>{{#if:{{{doc|}}}||
}}<noinclude>
{{#if:{{{cat|}}}|[[Category:{{{cat}}}]]}}
{{Documentation}}
}}</includeonly><noinclude>
{{Documentation|fr=Modèle:Notice|ja=テンプレート:Notice|tr=Şablon:Uyarı}}
</noinclude>
</noinclude>