Template:Alert: Difference between revisions
ArrowHead294 (talk | contribs) m Make "alert" "mbox" etc. a separate parameter ("class") in Template:Mbox to avoid having to copy markup |
m Pass text to mbox template (bug fix) |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="alert/styles.css" />{{mbox | <includeonly><templatestyles src="alert/styles.css" />{{mbox | ||
| class=alert | | class=alert | ||
| type={{{type|note}}} | |||
| text={{{text|}}} | |||
| icon={{{icon|}}} | | icon={{{icon|}}} | ||
| icon size={{{icon size|20px}}} | | icon size={{{icon size|20px}}} | ||
}} | }} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||