Vorlage:MultiColsLayout: Unterschied zwischen den Versionen

K
61 Versionen von wikivoyage:Vorlage:MultiColsLayout importiert
K (Blindabsatz für hovercards einfügen)
K (61 Versionen von wikivoyage:Vorlage:MultiColsLayout importiert)
 
(37 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>{{#if: {{{intro}}}
<includeonly><templatestyles src="MultiColsLayout/styles.css" />{{#if: {{{withFrame|}}}{{{title|}}}
  | <p style="display: none">{{{intro}}}</p>
| [[Kategorie:MultiColsLayout mit Rahmen]]
| {{#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> }}
}}<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|}}}
  | <!-- ja, dann Rahmen -->
| {{#if: {{{withFrame|}}} | | voy-multicols-no-frame }}
}}" {{#if: {{{styles|}}} | style="{{{styles}}}" }}><!--
-->{{#if: {{{title|}}} | <div class="voy-multicols-header {{#if: {{{centerTitle|}}} | voy-centered }}">{{{title|}}}</div> }}<!--
-->{{#if: {{{withFrame|}}}{{{title|}}} | {{#if: {{{intro|}}} | <div class="voy-multicols-intro">
{{{intro}}}</div> }} }}<!--


| {{#switch: {{NAMESPACE}}
--><div class="voy-multicols-cols">{{#if: {{{col1|}}}
  | {{NS:100}} <!-- Portal --> = <p style="display: none">Mehr erfahren Sie im Portal ''{{PAGENAME}}''.</p>
  | {{NS:104}} <!-- Thema  --> = <p style="display: none">Mehr erfahren Sie im Themenartikel ''{{PAGENAME}}''.</p>
}}
}}{{#if: {{{withFrame|}}}


| <div class="container">
| <div class="voy-multicols-col" {{#if: {{{width1|}}} | style="width: {{{width1}}}; flex: none;" }}>
{{#if: {{{title|}}} | <div class="header {{#if: {{{centerTitle|}}} | centered }} {{#switch: {{{color|}}} | 2 = var2 }}">{{{title|}}}</div> }}
{{{col1}}}</div><!--
{{{intro|}}}
-->{{#if: {{{col2|}}} | <div class="voy-multicols-col" {{#if: {{{width2|}}} | style="width: {{{width2}}}; flex: none;" }}>
{{#if: {{{col1|}}} | <div class="cInner"> }}
{{{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> }}


| {{#if: {{{title|}}} {{{intro|}}} | {{Box | title={{{title|}}} | color={{{frameColor|1}}} | isFirst=yes | 1={{{intro|}}} | center={{{centerTitle|}}} }} }}
| <div class="voy-multicols-col">Keine Inhalte angegeben</div>
}}</div><!--


}}<!--
-->{{#if: {{{footer|}}} | <div class="voy-multicols-footer">{{{footer}}}</div> }}
 
</div></includeonly><noinclude>{{Dokumentation}}</noinclude>
-->{{#if: {{{col1|}}}
| {{#if: {{{col2|}}} <!-- more than 1? -->
  | {{(!}} 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
}}<!--
 
-->{{{footer|}}}{{#if: {{{withFrame|}}}
| {{#if: {{{col1|}}} | </div> }}
</div>
}}</includeonly><noinclude>{{Dokumentation}}</noinclude>