Template
Notice
From Dogcraft Wiki
No edit summary |
m (Removing extra lines) |
||
Line 15: | Line 15: | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly><div><div style="display:table; max-width:100%;" class="phonefullscreen noexcerpt"><div style="float: left; padding: 10px 10px"> | ||
<div><div style="display:table; max-width:100%;" class="phonefullscreen noexcerpt"><div style="float: left; padding: 10px 10px"> | |||
<span style="background-color: {{{iconbackcolor|#8b0024}}}; display:table-cell; text-align:center; overflow:hidden; padding: {{{customiconpadding|14px 8px 6px 12px}}}; vertical-align:middle;"> | <span style="background-color: {{{iconbackcolor|#8b0024}}}; display:table-cell; text-align:center; overflow:hidden; padding: {{{customiconpadding|14px 8px 6px 12px}}}; vertical-align:middle;"> | ||
<i class="fa {{{icon|fa-pencil-square-o}}}" style="color:white; font-size:160%"></i> | <i class="fa {{{icon|fa-pencil-square-o}}}" style="color:white; font-size:160%"></i> | ||
</span><span style="background-color: {{{contentbackcolor|#E9EDEF}}}; display:table-cell; padding: {{{customcontentpadding|12px 14px 12px 14px}}}; overflow:hidden; max-width:100%"> | </span><span style="background-color: {{{contentbackcolor|#E9EDEF}}}; display:table-cell; padding: {{{customcontentpadding|12px 14px 12px 14px}}}; overflow:hidden; max-width:100%"> | ||
{{#if: {{{title|}}}|'''{{{title|}}}: '''|}}{{{message|}}}</span> | {{#if: {{{title|}}}|'''{{{title|}}}: '''|}}{{{message|}}}</span> | ||
</div></div></div> | </div></div></div></includeonly><noinclude> | ||
</includeonly> | |||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 13:55, 23 March 2021
{{Notice |title=Title of notice |message=Message Body |contentbackcolor= |iconbackcolor= |icon= |customiconpadding= |customcontentpadding= }}
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 |
This page was last modified on 23 March 2021, at 13:55. (11 months ago)