Template

Notice

From Dogcraft Wiki

m (rewrote how notices work again, this time with a flexbox. hopefully for the last time in the near future)
No edit summary
Line 6: Line 6:
       -->{{#if: {{{title|}}}|'''{{{title|}}}'''|}}{{#if: {{{message|}}}|<b>:</b>|}} {{{message|}}}<!--
       -->{{#if: {{{title|}}}|'''{{{title|}}}'''|}}{{#if: {{{message|}}}|<b>:</b>|}} {{{message|}}}<!--
--></div></div></div><!--
--></div></div></div><!--
--><div style="clear: both;"></div></includeonly><noinclude>
--><div style="clear:{{{clear|left}}};"></div></includeonly><noinclude>


<noinclude><pre>{{Notice
<noinclude><pre>{{Notice

Revision as of 22:06, 31 May 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.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the notice

Stringsuggested
Messagemessage content

The message body of the notice

Stringrequired
Iconicon

FontAwesome icon to display on the notice

Example
fas fa-edit
Auto value
fas fa-edit
Stringoptional
Icon Coloriconbackcolor

Background color of the icon section of the notice

Stringoptional
Content Background Colorcontentbackcolor

Background color of the body of the notice.

Stringoptional
Icon Padding Valuescustomiconpadding

Custom padding values for the icon section of the notice

Example
10px 10px 10px 10px
Stringoptional
Content Padding Valuescustomcontentpadding

Custom padding values for the body of the notice

Example
10px 10px 10px 10px
Stringoptional
This page was last modified on 31 May 2022, at 22:06. (11 months ago)
Background Valentine's Day Event 2024 by TheWhiteTigerNL