Template:Ambox: Difference between revisions

From Harrison County Wiki
Jump to navigationJump to search
Created page with "<includeonly> <div class="ambox {{#if:{{{type|}}}|ambox-{{{type}}}|ambox-notice}}"> <table role="presentation"> <tr> <td class="ambox-image"> {{{image|40px}}} </td> <td class="ambox-text"> {{{text|<strong>No message provided.</strong>}}} </td> </tr> </table> </div> </includeonly> <noinclude> == Usage == Place this template at the top of a page or section to display a standard message box...."
 
No edit summary
Tag: Reverted
Line 34: Line 34:
</pre>
</pre>
</noinclude>
</noinclude>
{{Ambox
| type = warning
| text = Please be cautious with this page.
| image = [[File:Warning-icon.svg|40px]]
}}

Revision as of 01:01, 4 August 2025


Usage

Place this template at the top of a page or section to display a standard message box.

Syntax

{{Ambox
 | type = notice / warning / serious / content / delete / move / protect / style
 | image = [[File:Example.svg|40px]]
 | text = Your message here.
}}

Example

{{Ambox
 | type = warning
 | text = This article is incomplete and needs expansion.
}}


       File:Warning-icon.svg
       Please be cautious with this page.


Template loop detected: Template:Ambox