Template

Sitenotice

From Dogcraft Wiki

No edit summary
No edit summary
Line 12: Line 12:


</noinclude><includeonly>
</noinclude><includeonly>
<center><div><div style="display:table; max-width:100%;" class="phonefullscreen noexcerpt"><div style="float:left; padding: 10px 10px"><div style="box-shadow:-1px 1px 5px 0px rgba(50, 50, 50, 0.75);">
{{#if: {{{target|}}}|<center><div><div style="display:table; max-width:100%;" class="phonefullscreen noexcerpt"><div style="float:left; padding: 10px 10px"><div style="box-shadow:-1px 1px 5px 0px rgba(50, 50, 50, 0.75);">
<span style="background-color: {{{iconbackcolor|#8b0024}}}; display:table-cell; text-align:center; overflow:hidden; padding: {{{customiconpadding|14px 12px 6px 12px}}}; vertical-align:middle">
<span style="background-color: {{{iconbackcolor|#8b0024}}}; display:table-cell; text-align:center; overflow:hidden; padding: {{{customiconpadding|14px 12px 6px 12px}}}; vertical-align:middle">
<i class="fa {{{icon|fa-pencil-square-o}}}" style="color:{{{iconcolor|white}}}; font-size:160%"></i>
<i class="fa {{{icon|fa-pencil-square-o}}}" style="color:{{{iconcolor|white}}}; font-size:160%"></i>
</span><span style="background-color: {{{contentbackcolor|#E9EDEF}}}; display:table-cell; padding: {{{customcontentpadding|12px 14px 12px 14px}}}; overflow:hidden;">
</span><span style="background-color: {{{contentbackcolor|#E9EDEF}}}; display:table-cell; padding: {{{customcontentpadding|12px 14px 12px 14px}}}; overflow:hidden;">
{{#if: {{{title|}}}|'''{{{title|}}}:  '''|}}{{{message|}}}</span><span class="dismissable-notice-close-message-container" style="background-color: #e9edef;display: table-cell;padding: 10px 10px;overflow: hidden;vertical-align:middle;"></span>
{{#if: {{{title|}}}|'''{{{title|}}}:  '''|}}{{{message|}}}</span><span class="dismissable-notice-close-message-container" style="background-color: #e9edef;display: table-cell;padding: 10px 10px;overflow: hidden;vertical-align:middle;"></span>
</div></div></div></div></center>
</div></div></div></div></center>|}}
</includeonly>
</includeonly>

Revision as of 18:30, 3 November 2021

{{Sitenotice}} is a slightly modified version of the {{Notice}} template, meant for use in the sitenotice.

Check Template:Notice for a more extensive documentation page.




This page was last modified on 3 November 2021, at 18:30. (11 months ago)