Template
Notice
From Dogcraft Wiki
mNo edit summary Tag: Reverted |
(Undo revision 25754 by Domino) Tag: Undo |
||
Line 4: | Line 4: | ||
--></div><!-- | --></div><!-- | ||
--><div style="flex-grow:1; background-color:{{{contentbackcolor|#E9EDEF}}}; display:flex; flex-direction:column; justify-content:center;"><div style="padding:{{{customcontentpadding|12px 14px}}};"><!-- | --><div style="flex-grow:1; background-color:{{{contentbackcolor|#E9EDEF}}}; display:flex; flex-direction:column; justify-content:center;"><div style="padding:{{{customcontentpadding|12px 14px}}};"><!-- | ||
-->{{#if: {{{title|}}}|'''{{{title|}}}'''|}}{{#if: {{{message|}}} | -->{{#if: {{{title|}}}|'''{{{title|}}}'''|}}{{#if: {{{message|}}}|<b>:</b>|}} {{{message|}}}<!-- | ||
--></div></div></div><!-- | --></div></div></div><!-- | ||
--><div style="clear:{{{clear|left}}};"></div></includeonly><noinclude> | --><div style="clear:{{{clear|left}}};"></div></includeonly><noinclude> |
Revision as of 19:48, 6 July 2022
{{Notice |title=Title of notice |message=Message Body |contentbackcolor= |iconbackcolor= |icon= |customiconpadding= |customcontentpadding= }}
Title of notice: Message Body
See Category:Notice templates for other templates based on this one.
A template for leaving a notice banner on articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Title of the notice | String | suggested |
Message | message content | The message body of the notice | String | required |
Icon | icon | FontAwesome icon to display on the notice
| String | optional |
Icon color | iconbackcolor | Background color of the icon section of the notice | String | optional |
Content background color | contentbackcolor | Background color of the body of the notice. | String | optional |
Icon padding values | customiconpadding | Custom padding values for the icon section of the notice
| String | optional |
Content padding values | customcontentpadding | Custom padding values for the body of the notice
| String | optional |
Class | class | Optional extra CSS classes for the notice | String | optional |
Image | image | Optional free-form image input in place of the icon, for use in license templates. | String | optional |
This page was last modified on 6 July 2022, at 19:48. (11 months ago)