Template:Noticebox: Difference between revisions
From Destinypedia, the Destiny wiki
(Fixed width causing an issue on mobile) |
mNo edit summary |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="background:{{{bgcolor|#f0f0ff}}}; border-left: 10px solid {{{bordercolor|# | <div class="noticebox {{{class|}}}" style="display:table; width:660px; max-width:100%; box-sizing:border-box; background:{{{bgcolor|#f0f0ff}}}; border-left:10px solid {{{bordercolor|#006}}}; border-radius:.5em 0 0 .5em; margin:0 auto 10px"><div style="position:relative; border:1px solid {{{bordercolor|#006}}}; border-left:0; padding:5px"> | ||
{{#if:{{{image|}}}|<div style="position:absolute; top:50%;margin-top:-13px">[[File:{{{image | {{#if:{{{image|}}}|<div style="position:absolute; top:50%; margin-top:-13px">[[File:{{{image}}}|{{{image-width|28px}}}|class={{{image-class|}}}|link=]]</div>}} <div style="margin-left:{{#if:{{{image|}}}|38px|4px}}; color:{{{color|#000}}}">{{{content|{{{1|Content here}}}}}}</div> | ||
</div></div><noinclude> | </div></div><noinclude> | ||
== About == | == About == | ||
This template is only for administrative notice only. It is '''''not''''' for general use. | This template is only for administrative notice only. It is '''''not''''' for general use. | ||
;General | ;General | ||
<pre> | <pre> | ||
Line 12: | Line 13: | ||
<pre> | <pre> | ||
{{Noticebox | {{Noticebox | ||
|bgcolor= | |bgcolor= | ||
|bordercolor= | |bordercolor= | ||
|image= | |||
|content= | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Parent templates | |||
[[Category:Parent templates]]</noinclude> |
Latest revision as of 13:23, December 9, 2023
Content here
About
This template is only for administrative notice only. It is not for general use.
- General
{{Noticebox|}}
- Advanced
{{Noticebox |bgcolor= |bordercolor= |image= |content= }}