Vorlage:Metabox: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(Die Seite wurde neu angelegt: „<noinclude>{{widely-used|25,000+}} </noinclude>{{#ifeq:{{{size}}}|small|<div style="overflow: auto;"><div style="background: #{{#if:{{{backgroundcolor|}}}|{{{b…“)
 
K (3 Versionen von skanwiki:Vorlage:Metabox importiert)
 
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>{{widely-used|25,000+}}
<noinclude>{{widely-used|25,000+}}
</noinclude>{{#ifeq:{{{size}}}|small|<div style="overflow: auto;"><div style="background: #{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{Metabox/BG|{{{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}}}|{{Metabox/Header|{{{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>
</noinclude>{{#ifeq:{{{size}}}|small|<div style="overflow: auto;"><div style="background: #{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{Metabox/BG|{{{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}}}|{{Metabox/Header|{{{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>{{clear|left}}</div>
|<center><div style="overflow: auto;"><div style="background: #{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{Metabox/BG|{{{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}}}|{{Metabox/Header|{{{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>
|<center><div style="overflow: auto;"><div style="background: #{{#if:{{{backgroundcolor|}}}|{{{backgroundcolor}}}|{{Metabox/BG|{{{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}}}|{{Metabox/Header|{{{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>{{clear|left}}</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>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Aktuelle Version vom 13. Januar 2023, 03:51 Uhr

Gnome-emblem-important.svg
Diese Vorlage wird auf 25,000+ Seiten verwendet
Um große Unterbrechungen und unnötige Serverauslastung zu vermeiden, solltest du Änderungen an anderer Stelle testen, indem du beispielsweise den Quellcode dieser Vorlage kopierst und in den Benutzerbereich oder in die Sandbox einfügst. Erwäge, deine Änderungen auf der Diskussionsseite vorzuschlagen, bevor du diese Vorlage bearbeitest.
 
{{{text}}}
Template-info.png Dokumentation für die Vorlage {{Metabox}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Für die Vorlage {{Metabox}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise