Template

Notice

From Dogcraft Wiki

No edit summary
No edit summary
Line 23: Line 23:
</div></div></div>
</div></div></div>
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"iconbackcolor": {
"label": "Icon Color",
"description": "Background color of the icon section of the notice",
"type": "string"
},
"customiconpadding": {
"label": "Icon Padding Values",
"description": "Custom padding values for the icon section of the notice",
"example": "10px 10px 10px 10px",
"type": "string"
},
"icon": {
"label": "Icon",
"description": "FontAwesome icon to display on the notice",
"example": "fa-pencil-square-o",
"type": "string",
"autovalue": ""
},
"contentbackcolor": {
"label": "Content Background Color",
"description": "Background color of the body of the notice.",
"type": "string"
},
"customcontentpadding": {
"label": "Content Padding Values",
"description": "Custom padding values for the body of the notice",
"example": "10px 10px 10px 10px",
"type": "string"
},
"title": {
"label": "Title",
"description": "Title of the notice",
"type": "string",
"suggested": true
},
"message": {
"aliases": [
"content"
],
"label": "Message",
"description": "The message body of the notice",
"type": "string",
"required": true
}
},
"paramOrder": [
"title",
"message",
"icon",
"iconbackcolor",
"contentbackcolor",
"customiconpadding",
"customcontentpadding"
]
}
</templatedata>
</noinclude>

Revision as of 09:17, 9 March 2021

{{Notice
|title=Title of notice
|message=Message Body
|contentbackcolor=
|iconbackcolor=
|icon=
|customiconpadding=
|customcontentpadding=
}}


Title of notice: Message Body




No description.

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
fa-pencil-square-o
Auto value
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 9 March 2021, at 09:17. (11 months ago)
Background SRN Opening by Montenator