Jump to content

Template:Ambox: Difference between revisions

From Mohan Wiki
Import from wiki-src
 
Import from wiki-src
 
Line 1: Line 1:
<includeonly><table class="plainlinks ambox ambox-{{{type|notice}}}" role="presentation"><tr><td class="mbox-image"><span class="mbox-icon">{{#switch:{{{type|notice}}}|content=!|style=&#9998;|delete=&times;|#default=i}}</span></td><td class="mbox-text">{{{text}}}</td></tr></table></includeonly><noinclude>
<includeonly><div class="plainlinks ambox ambox-{{{type|notice}}}" role="note"><div class="mbox-image"><span class="mbox-icon">{{#switch:{{{type|notice}}}|content=!|style=&#9998;|delete=&times;|#default=i}}</span></div><div class="mbox-text">{{{text}}}</div></div></includeonly><noinclude>
Article message box. <code>type</code> = notice (blue), content (orange), style (yellow), delete (red).
Article message box. <code>type</code> = notice (blue), content (orange), style (yellow), delete (red).
Built from divs so it shrinks to sit beside a floated infobox.
[[Category:Message box templates]]
[[Category:Message box templates]]
</noinclude>
</noinclude>

Latest revision as of 17:55, 16 September 2026

Article message box. type = notice (blue), content (orange), style (yellow), delete (red). Built from divs so it shrinks to sit beside a floated infobox.