Template:Ambox: Difference between revisions
Import from wiki-src |
Import from wiki-src |
||
| Line 1: | Line 1: | ||
<includeonly>< | <includeonly><div class="plainlinks ambox ambox-{{{type|notice}}}" role="note"><div class="mbox-image"><span class="mbox-icon">{{#switch:{{{type|notice}}}|content=!|style=✎|delete=×|#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> | ||