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= }}
No description.
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 |
This page was last modified on 9 March 2021, at 09:17. (11 months ago)