Module:Notice/doc: Difference between revisions
added support for background-color |
removed notice box of the issue (issue is fixed) Tag: Manual revert |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Doc/start}} | |||
An Module to create a Notice box with image (optional). | |||
== Usage == | == Usage == | ||
Use this template to create other [[:Category:Notice templates|Notice Templates]]. | Use this template to create other [[:Category:Notice templates|Notice Templates]]. | ||
Line 27: | Line 30: | ||
| 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 45: | ||
{{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 84: | ||
{{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]] | ||
{{clear}} | |||
{{Doc/end}} |