Benutzer:Tobias Xy/Vorlage3: Unterschied zwischen den Versionen
Aus GuildWiki
Zeile 1: | Zeile 1: | ||
− | {{#if: {{{ | + | <!--{{#switch: {{{karte}}} |
+ | |nein= | ||
+ | |#default= | ||
+ | ! colspan="2" style="background-color:#b4a5dc; text-align:center;" {{pipe}} Karte | ||
+ | {{!-}} | ||
+ | {{pipe}} colspan="2" style="text-align:center;"{{pipe}} | ||
+ | {{#if: {{{karte1|}}} | ||
+ | | [[Bild:{{{karte1}}}{{pipe}}center{{pipe}}200px]] | ||
+ | {{#if: {{{text1|}}} | ||
+ | |<small>{{{text1}}}</small>|}} | ||
+ | {{#if: {{{karte2|}}}|<br /><br />[[Bild:{{{karte2}}}{{pipe}}center{{pipe}}200px]]{{#if: {{{text2|}}}|<small>{{{text2}}}</small>|}}{{#if: {{{karte3|}}}|<br /><br />[[Bild:{{{karte3}}}{{pipe}}center{{pipe}}200px]]{{#if: {{{text3|}}}|<small>{{{text3}}}</small>|}}{{#if: {{{karte4|}}}|<br /><br />[[Bild:{{{karte4}}}{{pipe}}center{{pipe}}200px]]{{#if: {{{text4|}}}|<small>{{{text4}}}</small>|}} }} }} }}|{{#ifexist: Bild:{{PAGENAME}}_Karte.jpg | [[Bild:{{PAGENAME}}_Karte.jpg{{pipe}}center{{pipe}}200px]] | {{#if: {{{nocat|}}} ||<includeonly>[[Kategorie:Karten-Stub (Quest)]]</includeonly>}} <small><span class="plainlinks">Diese Karte ist nicht vorhanden.<br />Hilf dem GuildWiki indem du sie [http://www.guildwiki.de/gwiki/index.php?title=Spezial:Hochladen&wpDestFile={{PAGENAMEE}}_Karte.jpg hier] hochlädst.</span></small>}} }} }} | ||
+ | --> | ||
+ | {{#switch: {{{karte}}} | ||
+ | |nein= | ||
+ | |#default= | ||
+ | ! colspan="2" style="background-color:#b4a5dc; text-align:center;" {{pipe}} Karte | ||
+ | {{!-}} | ||
+ | {{pipe}} colspan="2" style="text-align:center;"{{pipe}} | ||
+ | {{#vardefine:i|1}} | ||
+ | {{#while:{{#if:{{{karte{{#var:i}}|}}}|true}}| | ||
+ | [[Bild:{{{karte{{#var:i}}}}}{{pipe}}center{{pipe}}200px]]{{#vardefine:i|{{#var:i}}+1}} | ||
+ | }} | ||
+ | |||
+ | }} |
Version vom 1. November 2009, 13:15 Uhr
! colspan="2" style="background-color:#b4a5dc; text-align:center;" | Karte |- | colspan="2" style="text-align:center;"|
Die maximal zulässige Anzahl an Schleifen wurde ausgeführt