Template

Notice

From Dogcraft Wiki

Revision as of 19:48, 6 July 2022 by Domino (talk | contribs) (Undo revision 25754 by Domino)


{{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
Classclass

Optional extra CSS classes for the notice

Stringoptional
Imageimage

Optional free-form image input in place of the icon, for use in license templates.

Stringoptional
This page was last modified on 6 July 2022, at 19:48. (4 months ago)