Zum Inhalt springen

Vorlage:Box: Unterschied zwischen den Versionen

+templatestyles
KKeine Bearbeitungszusammenfassung
(+templatestyles)
Zeile 1: Zeile 1:
<includeonly><div class="container {{#switch: {{{color|}}}
<includeonly><templatestyles src="Box/styles.css" /><div class="voy-box-wrapper {{#switch: {{{color|}}}
| 2 = var2
| 2 = .voy-box-var-2
| 3 = var3
| 3 = .voy-box-var-3
| #default = var1
| #default = .voy-box-var-1
}} {{#switch: {{{position|}}}
}} {{#switch: {{{position|}}}
| links | left = float-left
| links | left = voy-box-left
| rechts | right = float-right
| rechts | right = voy-box-right
| center | centered | zentriert | mitte = centered
| center | centered | zentriert | mitte = voy-box-centered
}} {{#if: {{{isFirst|}}} | cFirst }} {{#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|}}} | style="{{#if: {{{position|}}}
  | width: {{{width|40%}}};
  | width: {{{width|40%}}};
  | {{#if: {{{width|}}} | width: {{{width}}}; | clear: both; }}
  | {{#if: {{{width|}}} | width: {{{width}}}; | clear: both; }}
}} {{{styles|}}}" | style="clear: both;" }}><!--
}} {{{styles|}}}" | style="clear: both;" }}><!--
-->{{#if: {{{content|}}} | <div class="plainlinks editLink">&#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="navImage 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="ctHeader chFirst {{#if: {{{content|}}} | | {{#if: {{{center|}}} | centered}} }}" {{#if: {{{id|}}} | id="{{URLENCODE:{{{id}}}}}"}}>{{{title|}}}</div>}}
-->{{#if: {{{title|}}} | <div class="voy-box-header {{#if: {{{content|}}} | | {{#if: {{{center|}}} | voy-centered }} }}" {{#if: {{{id|}}} | id="{{URLENCODE:{{{id}}}}}"}}>{{{title|}}}</div>}}
<div class="boxContent mw-collapsible-content" {{#if: {{{textStyles|}}}{{{image|}}} | style="overflow: auto;{{{textStyles|}}}" }}>
<div class="voy-box-content mw-collapsible-content" {{#if: {{{textStyles|}}}{{{image|}}} | style="overflow: auto;{{{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