Zum Inhalt springen

Vorlage:Box: Unterschied zwischen den Versionen

etwas umgestellt
(Korrektur)
(etwas umgestellt)
Zeile 1: Zeile 1:
<includeonly><templatestyles src="Box/styles.css" /><div class="voy-box-wrapper {{#switch: {{{color|}}}
<includeonly><templatestyles src="Box/styles.css" /><div class="voy-box-wrapper {{#switch: {{{color|}}}
| 2 = voy-box-var-2
| 2 = voy-box-var-2
| 3 = voy-box-var-3
| 3 = voy-box-var-3
| #default = voy-box-var-1
| #default = voy-box-var-1
}} {{#switch: {{{position|}}}
}} {{#switch: {{{position|}}}
| links | left = voy-box-left
| links | left = voy-box-left
| rechts | right = voy-box-right
| rechts | right = voy-box-right
| center | centered | zentriert | mitte = voy-box-centered
| center | centered | zentriert | mitte = voy-box-centered
}} {{#if: {{{isFirst|}}} | voy-box-first }} {{#switch: {{{expanded|}}} | yes | y | ja | j = mw-collapsible }} {{#switch: {{{collapsed|}}} | yes | y | ja | j = mw-collapsible mw-collapsed }} {{{addClasses|}}}" {{#if: {{{styles|}}}{{{position|}}}{{{width|}}} | style="{{#if: {{{position|}}}
}} {{#if: {{{isFirst|}}} | voy-box-first }} {{#switch: {{{expanded|}}} | yes | y | ja | j = mw-collapsible }} {{#switch: {{{collapsed|}}} | yes | y | ja | j = mw-collapsible mw-collapsed }} {{{addClasses|}}}" {{#if: {{{styles|}}}{{{position|}}}{{{width|}}}
| width: {{{width|40%}}};
| style="{{#if: {{{position|}}}
| {{#if: {{{width|}}} | width: {{{width}}}; | clear: both; }}
  | width: {{{width|40%}}};
}} {{{styles|}}}" | style="clear: both;" }}><!--
  | {{#if: {{{width|}}} | width: {{{width}}}; }}
}} {{{styles|}}}"
|
}}><!--
-->{{#if: {{{content|}}} | <div class="plainlinks voy-box-edit-link">&#91;[{{fullurl:{{{content|/}}}|action=edit}} {{Mediawiki:Edit}}]&#93;</div>}}<!--
-->{{#if: {{{content|}}} | <div class="plainlinks voy-box-edit-link">&#91;[{{fullurl:{{{content|/}}}|action=edit}} {{Mediawiki:Edit}}]&#93;</div>}}<!--
-->{{#if: {{{image|}}} | <div class="voy-box-image mw-collapsible-content" {{#if: {{{imgStyles|}}} | style = "{{{imgStyles}}}" }}>{{{image}}}</div> }}<!--
-->{{#if: {{{image|}}} | <div class="voy-box-image mw-collapsible-content" {{#if: {{{imgStyles|}}} | style = "{{{imgStyles}}}" }}>{{{image}}}</div> }}<!--
-->{{#if: {{{title|}}} | <div class="voy-box-header {{#if: {{{content|}}} | | {{#if: {{{center|}}} | voy-centered }} }}" {{#if: {{{id|}}} | id="{{URLENCODE:{{{id}}}}}"}}>{{{title|}}}</div>}}
-->{{#if: {{{title|}}} | <div class="voy-box-header {{#if: {{{content|}}} | | {{#if: {{{center|}}} | voy-text-center }} }}" {{#if: {{{id|}}} | id="{{URLENCODE:{{{id}}}}}"}}>{{{title|}}}</div>}}
<div class="voy-box-content mw-collapsible-content" {{#if: {{{textStyles|}}}{{{image|}}} | style="overflow: auto;{{{textStyles|}}}" }}>
<div class="voy-box-content mw-collapsible-content" {{#if: {{{textStyles|}}} | style="{{{textStyles|}}}" }}>
{{#if: {{{content|}}} | {{{{{content}}}}} | {{{1|}}} }}</div><div style="clear: both;"></div>
{{#if: {{{content|}}} | {{{{{content}}}}} | {{{1|}}} }}</div>
<div style="clear: both;"></div>
</div></includeonly><noinclude>{{Dokumentation}}</noinclude>
</div></includeonly><noinclude>{{Dokumentation}}</noinclude>
Anonymer Benutzer