Vorlage:MultiColsLayout: Unterschied zwischen den Versionen

K
61 Versionen von wikivoyage:Vorlage:MultiColsLayout importiert
KKeine Bearbeitungszusammenfassung
K (61 Versionen von wikivoyage:Vorlage:MultiColsLayout importiert)
 
(54 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<!-- title
<includeonly><templatestyles src="MultiColsLayout/styles.css" />{{#if: {{{withFrame|}}}{{{title|}}}
intro
| [[Kategorie:MultiColsLayout mit Rahmen]]
centerTitle
| {{#if: {{{intro|}}} | <p class="voy-multicols-intro {{#switch: {{{color|}}} | 2 = voy-multicols-var-2 | 3 = voy-multicols-var-3 | #default = voy-multicols-var-1 }}">{{{intro}}}</p> }}
col1
}}<div class="voy-multicols-box {{{class|}}} {{#switch: {{{color|}}} | 2 = voy-multicols-var-2 | 3 = voy-multicols-var-3 | #default = voy-multicols-var-1 }} {{#if: {{{title|}}}
width1
| <!-- ja, dann Rahmen -->
col2
| {{#if: {{{withFrame|}}} | | voy-multicols-no-frame }}
width2
}}" {{#if: {{{styles|}}} | style="{{{styles}}}" }}><!--
col3
-->{{#if: {{{title|}}} | <div class="voy-multicols-header {{#if: {{{centerTitle|}}} | voy-centered }}">{{{title|}}}</div> }}<!--
width3
-->{{#if: {{{withFrame|}}}{{{title|}}} | {{#if: {{{intro|}}} | <div class="voy-multicols-intro">
col4
{{{intro}}}</div> }} }}<!--
width4
col5
width5
withFrame
frameColor -->{{#if: {{{withFrame|}}}


| <div class="container">
--><div class="voy-multicols-cols">{{#if: {{{col1|}}}
{{#if: {{{title|}}} | <div class="header {{#if: {{{centerTitle|}}} | centered }} {{#switch: {{{color|}}} | 2 = var2 }}">{{{title|}}}</div> }}
{{{intro|}}}
{{#if: {{{col1|}}} | <div class="cInner"> }}


| {{#if: {{{title|}}} {{{intro|}}} | {{Box | title={{{title|}}} | color={{{frameColor|1}}} | isFirst=yes | 1={{{intro|}}} | center={{{centerTitle|}}} }} }}
| <div class="voy-multicols-col" {{#if: {{{width1|}}} | style="width: {{{width1}}}; flex: none;" }}>
{{{col1}}}</div><!--
-->{{#if: {{{col2|}}} | <div class="voy-multicols-col" {{#if: {{{width2|}}} | style="width: {{{width2}}}; flex: none;" }}>
{{{col2}}}</div> }}<!--
-->{{#if: {{{col3|}}} | <div class="voy-multicols-col" {{#if: {{{width3|}}} | style="width: {{{width3}}}; flex: none;" }}>
{{{col3}}}</div> }}<!--
-->{{#if: {{{col4|}}} | <div class="voy-multicols-col" {{#if: {{{width4|}}} | style="width: {{{width4}}}; flex: none;" }}>
{{{col4}}}</div> }}<!--
-->{{#if: {{{col5|}}} | <div class="voy-multicols-col" {{#if: {{{width5|}}} | style="width: {{{width5}}};" }}>
{{{col5}}}</div> }}


}}<!--
| <div class="voy-multicols-col">Keine Inhalte angegeben</div>
}}</div><!--


-->{{#if: {{{col1|}}}
-->{{#if: {{{footer|}}} | <div class="voy-multicols-footer">{{{footer}}}</div> }}
| {{#if: {{{col2|}}} <!-- more than 1? -->
</div></includeonly><noinclude>{{Dokumentation}}</noinclude>
  | {{(!}} class="container" cellspacing="0" style="width: 100%;"
{{!}} style="width: {{{width1|50%}}};" {{!}}{{{col1}}}
{{!}}{{#if: {{{width2|}}} | style="width: {{{width2}}};"
{{!}}}}{{{col2}}}<!--
--> {{#if: {{{col3|}}} |
{{!}}{{#if: {{{width3|}}} | style="width: {{{width3}}};"
{{!}}}}{{{col3}}}}}<!--
--> {{#if: {{{col4|}}} |
{{!}}{{#if: {{{width4|}}} | style="width: {{{width4}}};"
{{!}}}}{{{col4}}}}}<!--
--> {{#if: {{{col5|}}} |
{{!}}{{#if: {{{width5|}}} | style="width: {{{width5}}};"
{{!}}}}{{{col5}}}}}
{{!)}}
 
  | {{{col1|}}}
  }}
| Keine Inhalte angegeben
}}<!--
 
-->{{#if: {{{withFrame|}}}
| {{#if: {{{col1|}}} | </div> }}
</div>
}}