Template:Metabox: Difference between revisions

m
Protected "Template:Metabox" ([Edit=Allow only administrators and content moderators] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite))
sims>K6ka
m (Changed protection level for "Template:Metabox": High traffic page (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
m (Protected "Template:Metabox" ([Edit=Allow only administrators and content moderators] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite)))
 
(8 intermediate revisions by 4 users not shown)
Line 1:
<noinclude>{{Era|PR}}{{tm|{{Metaboxwidely-used|25,000+}}}}
|type = notice
|image = Icon-warning-48x48.png
|headline = This template is used on 25000+ pages
|text = To avoid large-scale disruption and unnecessary server load, consider testing your changes elsewhere, such as by copying the source code of this template and pasting it into your [[w:Help:User page|user space]], or in the [[The Sims Wiki:Sandbox|sandbox]]. Consider proposing your changes on the [[Template talk:Metabox|talk page]] before editing this template.
}}}}
</noinclude>{{#ifeq:{{{size}}}|small|<div style="overflow: auto;"><div style="background: #{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{MetaboxBG|{{{type}}} }} }}; border: 1px solid #E0E0E0; text-align: left; width: {{#if:{{{width|}}}|{{{width}}}%|40%}}; box-shadow: 1px 1px 3px #777; min-height: {{{imagesize|45}}}px; margin-bottom: 1px;">{{#if:{{{image|}}}|<div style="float: left; width: {{#expr: {{{imagesize|45}}} + 5}}px; margin-left: 3px; position: absolute;">[[File:{{{image}}}|center|{{#if:{{{imagesize|}}}|{{{imagesize}}}px|45px}}]]</div>|}}<div style="background: #{{#if:{{{headercolor|}}}|{{{headercolor}}}|{{#if:{{{bordercolor|}}}|{{{bordercolor}}}|{{MetaboxHeader|{{{type}}} }} }} }}; width: auto; margin: 3px;{{#if:{{{image|}}}| padding-left:{{#expr: {{{imagesize|45}}} + 5}}px;| padding-left: 5px;}} font-side: 95%; font-weight: bold; text-shadow: 1px 1px 2px #333; color: white; box-shadow: 1px 1px 3px #777;">{{#if: {{{headline|}}}|{{{headline}}}|&nbsp;}}</div><div style="padding-bottom: 3px; {{#if:{{{image|}}}|margin-left: {{#expr: {{{imagesize|45}}} + 5}}px;|margin-left: 5px;}} margin-right: 5px; font-size: 90%;">{{{text}}}</div></div>{{clrl}}</div>
|<center><div style="overflow: auto;"><div style="background: #{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{MetaboxBG|{{{type}}} }} }}; border: 1px solid #E0E0E0; text-align: left; width: {{#if: {{{width|}}}|{{{width}}}%|85%}}; box-shadow: 1px 1px 3px #777; min-height: {{{imagesize|60}}}px; margin-bottom: 1px;">{{#if:{{{image|}}}|<div style="float: left; width: {{#expr: {{{imagesize|60}}} + 5}}px; margin-left: 5px; position: absolute;">[[File:{{{image}}}|center|{{#if:{{{imagesize|}}}|{{{imagesize}}}px|60px}}]]</div>|}}<div style="background: #{{#if:{{{headercolor|}}}|{{{headercolor}}}|{{#if:{{{bordercolor|}}}|{{{bordercolor}}}|{{MetaboxHeader|{{{type}}} }} }} }}; width: auto; margin: 5px;{{#if:{{{image|}}}| padding-left:{{#expr: {{{imagesize|60}}} + 5}}px;| padding-left: 5px;}} font-side: 110%; font-weight: bold; text-shadow: 1px 1px 2px #333; color: white; box-shadow: 1px 1px 3px #777;">{{#if: {{{headline|}}}|{{{headline}}}|&nbsp;}}</div><div style="padding-bottom: 5px;{{#if:{{{image|}}}|margin-left: {{#expr: {{{imagesize|60}}} + 10}}px;|margin-left: 5px;}} margin-right: 5px;">{{{text}}}</div></div>{{clrl}}</div></center>}}<includeonly>{{#if:{{{cat|}}}|{{#ifeq:{{NAMESPACE}}| | [[Category:{{{cat}}}|{{#if:{{{catsort|}}}|{{{catsort}}}|{{{PAGENAME}}}}}]]|}}|}}{{#if:{{{nocat|}}} | | {{#ifeq:{{NAMESPACE}}|Template|[[Category:Templates using Metabox|{{PAGENAME}}]]|}}}}</includeonly><noinclude>