Zum Inhalt springen

Vorlage:Box: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<includeonly><templatestyles src="Box/styles.css" /><!--
<includeonly><templatestyles src="Box/styles.css" />{{SkandWikiStyle|{{{color|}}}}}<!--


Wrapper
Wrapper


--><div class="voy-box-wrapper {{#switch: {{{color|}}}
--><div class="skanwiki-box-wrapper skanwiki-box-var {{#switch: {{{position|}}}
| 2 = skanwiki-box-var-2
  | links | left = skanwiki-box-left
| 3 = skanwiki-box-var-3
  | rechts | right = skanwiki-box-right
| #default = skanwiki-box-var-1
  | center | centered | zentriert | mitte = skanwiki-box-centered
}} {{#switch: {{{position|}}}
}} {{#if: {{{isFirst|}}} | skanwiki-box-first }} {{#switch: {{{expanded|}}} | yes | y | ja | j = mw-collapsible }} {{#switch: {{{collapsed|}}} | yes | y | ja | j = mw-collapsible mw-collapsed }} {{{addClasses|}}}" style="border: 1px solid #{{SkandWikiColor|{{{color}}}-dark}}; {{#if: {{{styles|}}}{{{position|}}}{{{width|}}}
  | links | left = voy-box-left
  | {{#if: {{{position|}}}
  | rechts | right = voy-box-right
  | 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|}}}
   | width: {{{width|40%}}};
   | width: {{{width|40%}}};
   | {{#if: {{{width|}}} | width: {{{width}}}; }}
   | {{#if: {{{width|}}} | width: {{{width}}}; }}
Zeile 18: Zeile 14:
  |
  |
}}><!--
}}><!--
-->{{#if: {{{content|}}} | <div class="voy-box-edit-link plainlinks">&#91;[<span style="color:green">{{fullurl:{{{content|/}}}|action=edit}}</span> {{Mediawiki:Edit}}]&#93;</div>}}<!--
-->{{#if: {{{content|}}} | <div class="skanwiki-box-edit-link plainlinks">&#91;[{{fullurl:{{{content|/}}}|action=edit}} {{Mediawiki:Edit}}]&#93;</div>}}<!--


Header and content
Header and content


-->{{#if: {{{image|}}} | <div class="voy-box-image mw-collapsible-content" {{#if: {{{imgStyles|}}} | style = "{{{imgStyles}}}" }}>{{{image}}}</div> }}<!--
-->{{#if: {{{image|}}} | <div class="skanwiki-box-image mw-collapsible-content" {{#if: {{{imgStyles|}}} | style = "{{{imgStyles}}}" }}>{{{image}}}</div> }}<!--
-->{{#if: {{{title|}}} | <div class="voy-box-header {{#if: {{{content|}}} | | {{#if: {{{center|}}} | voy-text-center }} {{#switch: {{{title-bg-color|}}} | 2 = skanwiki-box-var-title-2 | 3 = skanwiki-box-var-title-3 | #default = skanwiki-box-title-1 }} }}" {{#if: {{{id|}}} | id="{{URLENCODE:{{{id}}}}}"}}>{{{title|}}}</div>}}<!--
-->{{#if: {{{title|}}} | <div class="skanwiki-box-header {{#if: {{{content|}}} | | {{#if: {{{center|}}} | skanwiki-text-center }} skanwiki-box-title }}" style="background:#{{SkandWikiColor|{{{color}}}-dark}};color:#{{SkandWikiColor|{{{color}}}-light-font}};" {{#if: {{{id|}}} | id="{{URLENCODE:{{{id}}}}}"}}>{{{title|}}}</div>}}<!--
--><div class="voy-box-content mw-collapsible-content" {{#if: {{{textStyles|}}} | style="{{{textStyles|}}}" }}>
--><div class="skanwiki-box-content mw-collapsible-content" {{#if: {{{textStyles|}}} | style="{{{textStyles|}}}" }}>
{{#if: {{{content|}}} | {{{{{content}}}}} | {{{1|{{{text|}}}}}} }}</div>
{{#if: {{{content|}}} | {{{{{content}}}}} | {{{1|{{{text|}}}}}} }}</div>
</div></includeonly><noinclude>{{Dokumentation}}</noinclude>
</div></includeonly><noinclude>{{Dokumentation}}</noinclude>