Vorlage:Box: Unterschied zwischen den Versionen
+templatestyles
KKeine Bearbeitungszusammenfassung |
(+templatestyles) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><div class=" | <includeonly><templatestyles src="Box/styles.css" /><div class="voy-box-wrapper {{#switch: {{{color|}}} | ||
| 2 = | | 2 = .voy-box-var-2 | ||
| 3 = | | 3 = .voy-box-var-3 | ||
| #default = | | #default = .voy-box-var-1 | ||
}} {{#switch: {{{position|}}} | }} {{#switch: {{{position|}}} | ||
| links | left = | | links | left = voy-box-left | ||
| rechts | right = | | rechts | right = voy-box-right | ||
| center | centered | zentriert | mitte = centered | | center | centered | zentriert | mitte = voy-box-centered | ||
}} {{#if: {{{isFirst|}}} | | }} {{#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 | -->{{#if: {{{content|}}} | <div class="plainlinks voy-box-edit-link">[[{{fullurl:{{{content|/}}}|action=edit}} {{Mediawiki:Edit}}]]</div>}}<!-- | ||
-->{{#if: {{{image|}}} | <div class=" | -->{{#if: {{{image|}}} | <div class="voy-box-image mw-collapsible-content" {{#if: {{{imgStyles|}}} | style = "{{{imgStyles}}}" }}>{{{image}}}</div> }}<!-- | ||
-->{{#if: {{{title|}}} | <div class=" | -->{{#if: {{{title|}}} | <div class="voy-box-header {{#if: {{{content|}}} | | {{#if: {{{center|}}} | voy-centered }} }}" {{#if: {{{id|}}} | id="{{URLENCODE:{{{id}}}}}"}}>{{{title|}}}</div>}} | ||
<div class=" | <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> |