Hauptmenü öffnen

Memory Alpha Nova β

Änderungen

Vorlage:Mehrspalter

553 Bytes entfernt, 21:22, 9. Jul. 2012
markup wird nicht mehr benötigt da der effekt jetzt auch über css erzieht werden kann
<includeonly>
{{#ifeq: {{{Layout}}}|simple|<div class="multi-column {{#if: {{{8|}}} | four-columns | {{#if: {{{7|}}} | seven-columns | {{#if: {{{6|}}} | six-columns | {{#if: {{{5|}}} | five-columns | {{#if: {{{4|}}} | four-columns | {{#if: {{{3|}}} | three-columns | {{#if: {{{2|}}} | two-columns | }} }} }} }} }} }} }}">
<div class="col"><div class="col-content">
{{{1}}}
</div></div><div class="col"><div class="col-content">
{{{2}}}
</div></div>{{#if: {{{3|}}} | <div class="col"><div class="col-content">
{{{3}}}
</div></div> | }}{{#if: {{{4|}}} | <div class="col"><div class="col-content">
{{{4}}}
 </div></div>{{#if: {{{8|}}}|{{clear}}|}} | }}{{#if: {{{5|}}} | <div class="col"><div class="col-content">
{{{5}}}
</div></div> | }}{{#if: {{{6|}}} | <div class="col"><div class="col-content">
{{{6}}}
</div></div> | }}{{#if: {{{7|}}} | <div class="col"><div class="col-content">
{{{7}}}
</div></div> | }}
{{#if: {{{8|}}} | <div class="col"><div class="col-content">
{{{7}}}
</div></div> | }}</div>|<div class="multi-column {{#if: {{{10|}}} | five-columns |{{#if: {{{9|}}} | five-columns |{{#if: {{{8|}}} | four-columns | {{#if: {{{7|}}} | four-columns | {{#if: {{{6|}}} | six-columns | {{#if: {{{5|}}} | five-columns | {{#if: {{{4|}}} | four-columns | {{#if: {{{3|}}} | three-columns | {{#if: {{{2|}}} | two-columns | }} }} }} }} }} }} }} }} }}"><div class="col"><div class="col-content">
{{{1}}}
</div></div><div class="col"><div class="col-content">
{{{2}}}
</div></div>{{#if: {{{3|}}} | <div class="col"><div class="col-content">
{{{3}}}
</div></div> | }}{{#if: {{{4|}}} | <div class="col"><div class="col-content">
{{{4}}}
</div></div>{{#if: {{{9|}}}||{{#if: {{{8|}}}|{{clear}}|{{#if: {{{7|}}}|{{clear}}|}}}}|}} }}{{#if: {{{5|}}} | <div class="col"><div class="col-content">
{{{5}}}
</div></div>{{#if: {{{9|}}}|{{clear}}|}} | }}{{#if: {{{6|}}} | <div class="col"><div class="col-content">
{{{6}}}
</div></div> | }}{{#if: {{{7|}}} | <div class="col"><div class="col-content">
{{{7}}}
</div></div> | }}{{#if: {{{8|}}} | <div class="col"><div class="col-content">
{{{8}}}
</div></div> | }}{{#if: {{{9|}}} | <div class="col"><div class="col-content">
{{{9}}}
</div></div> | }}{{#if: {{{10|}}} | <div class="col"><div class="col-content">
{{{10}}}
</div></div> | }}</div>}}{{clear}}</includeonly><noinclude>
Mit dieser Vorlage Lassen sich einfach mehrspaltige Layouts realisieren.
Anonymer Benutzer