Template:Warning: Difference between revisions

From Handhelds Wiki
Jump to navigationJump to search
m 1 revision imported
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Mbox
<div class="warning-box" role="alert" aria-live="assertive">
| name      = Warning
  <div class="warning-box__icon" aria-hidden="true">⚠️</div>
| demospace  = {{{demospace|}}}
  <div>
| style      = {{#if:{{{style|}}} |{{{style}}} }}
    <div class="warning-box__title">Warning</div>
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
    <div class="warning-box__message">{{{1}}}</div>
| type      = content
  </div>
| image      = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|40px}}}|Warning]] }}
</div>
| small      = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
</noinclude>

Latest revision as of 07:09, 29 May 2025