Module:Notice/doc: Difference between revisions
added support for background-color |
m format |
||
Line 27: | Line 27: | ||
| style="vertical-align:top" |<code>header</code> | | style="vertical-align:top" |<code>header</code> | ||
| style="vertical-align:top" |Named, optional | | style="vertical-align:top" |Named, optional | ||
| colspan="4" |The header text. e.g. <code> | | colspan="4" |The header text. e.g. <code>Notice</code>. Defaults to nothing shown. | ||
|- | |- | ||
| style="vertical-align:top" |<code>content</code> | | style="vertical-align:top" |<code>content</code> | ||
Line 42: | Line 42: | ||
{{notice|file=Beans.png|header=Under Construction|content=This article is under construction.}} | {{notice|file=Beans.png|header=Under Construction|content=This article is under construction.}} | ||
<code><nowiki>{{notice|file=Beans.png|header= | <code><nowiki>{{notice|file=Beans.png|header=Notice with header text only.}}</nowiki></code> | ||
{{notice|file=Beans.png|header= | {{notice|file=Beans.png|header=Notice with header text only.}} | ||
<code><nowiki>{{notice|file=Beans.png|content=Small notice without a header.}}</nowiki></code> | <code><nowiki>{{notice|file=Beans.png|content=Small notice without a header.}}</nowiki></code> | ||
Line 81: | Line 81: | ||
{{notice|file=Beans.png|header=Custom color notice|color=slateblue|text-align=center}} | {{notice|file=Beans.png|header=Custom color notice|color=slateblue|text-align=center}} | ||
[[Category: | [[Category:Notice templates]] |