Template
Interface template⮥
Sitenotice
From Dogcraft Wiki
No edit summary |
m (Added categories: Interface templates) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{Interface template}} | ||
<nowiki>{{Sitenotice}}</nowiki> is a slightly modified version of the [[Template:Notice|<nowiki>{{Notice}}</nowiki>]] template, meant for use in the [[MediaWiki:Sitenotice|sitenotice]]. | <nowiki>{{Sitenotice}}</nowiki> is a slightly modified version of the [[Template:Notice|<nowiki>{{Notice}}</nowiki>]] template, meant for use in the [[MediaWiki:Sitenotice|sitenotice]]. | ||
Line 11: | Line 11: | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly>{{#ifeq: {{{target|}}}|{{PAGENAME}}||<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);"> | ||
<center><div><div style="display:table; max-width:100%;" class="phonefullscreen noexcerpt"><div style=" | |||
<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></center> | </div></div></div></div></center>}}</includeonly> | ||
</includeonly> |
Latest revision as of 11:27, 4 December 2023
{{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.