Jump to content

Template:Notice: Difference between revisions

Taurussmith (talk | contribs)
No edit summary
Taurussmith (talk | contribs)
No edit summary
 
Line 1: Line 1:
<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 id="{{{id|}}}" class="notice-mbox {{{class|}}}" style="display: table; width: 100%; margin-bottom: 4px; border: 1px solid #a2a9b1; background-color: #f8f9fa; box-sizing: border-box; {{{style|}}};">
<div style="text-align: center;">{{{image|<span style="font-size:32px;"></span>}}}</div><div><div style="margin-top: 8px; height: 4px; width: 200px; background: {{#switch:{{{border|}}}  
<div style="display: table-cell; width: 52px; text-align: center; vertical-align: middle; padding: 8px;">{{#if:{{{image|}}}|[[File:{{{image}}}|40px|Notice|alt={{{imagealt|}}}]]}}</div>
  | red      = #fa005a
<div style="display: table-cell; vertical-align: middle; padding: 8px 8px 8px 0; {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}">{{#if:{{{header|{{{heading|{{{title|}}}}}}}}}|<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}{{{text|{{{content|{{{reason|{{{1|}}}}}}}}}}}}</div>
  | orange  = #ff7f26
</div><noinclude>
  | yellow  = #ffc500
{{Documentation}}
  | purple  = #520044
</noinclude>
  | blue    = #86d7dc
  | green    = #94d11f
  | gray    = #838d86
  | #default = #838d86
}};"></div><div style="font-size: 12px; margin-top: 8px;">{{{info|{{{text|}}}}}}</div>
</div>
</div><includeonly>{{#if:{{{doc|}}}||
{{#if:{{{cat|}}}|[[Category:{{{cat}}}]]}}
}}</includeonly>

Latest revision as of 16:54, 16 August 2026

   📄 Template documentation