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...."
 
attemtping to fix ambox stuff
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<table class="ambox ambox-{{{type|notice}}}">
<div class="ambox {{#if:{{{type|}}}|ambox-{{{type}}}|ambox-notice}}">
   <tr>
   <table role="presentation">
     <td class="ambox-image">
     <tr>
      {{{image|[[File:Information icon.svg|40x40px|link=]]}}}
      <td class="ambox-image">
    </td>
        {{{image|[[File:Information icon4.svg|40px]]}}}
    <td class="ambox-text">
      </td>
      {{{text|<strong>No text provided.</strong>}}}
      <td class="ambox-text">
    </td>
        {{{text|<strong>No message provided.</strong>}}}
  </tr>
      </td>
</table>
    </tr>
  </table>
</div>
</includeonly>
<noinclude>
== Usage ==
Place this template at the top of a page or section to display a standard message box.
 
=== Syntax ===
<pre>
{{Ambox
| type = notice / warning / serious / content / delete / move / protect / style
| image = [[File:Example.svg|40px]]
| text = Your message here.
}}
</pre>
 
=== Example ===
<pre>
{{Ambox
| type = warning
| text = This article is incomplete and needs expansion.
}}
</pre>
</noinclude>

Latest revision as of 01:54, 4 August 2025

     
     No text provided.