Vorlage:KartePrevNext: Unterschied zwischen den Versionen

Aus PokéWiki
Zur Navigation springen Zur Suche springen
K (w)
(Ausgemustert)
 
(44 dazwischenliegende Versionen von 7 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{| align="left" width="100%" class="round" style="background: #{{#switch:{{{typ}}}|Elektro=CCCC00|Farblos|#default=AAAA88|Feuer=C63911|Kampf=443322|Pflanze=008800|Psycho=663366|Stahl=808080|Finsternis=000000|Wasser=000088}}; border:3px solid #{{#switch:{{{typ}}}|Elektro=FFFF88|Farblos|#default=EEEECC|Feuer=FEC490|Kampf=CCAA88|Pflanze=88FF88|Psycho=FF88FF|Stahl=DCDCDC|Finsternis=888888|Wasser=8BD5FF}}; {{#switch:{{{typ}}}|Finsternis=color:#ffffff;}} margin: 0 0 1em 0em"
<templatestyles src="Vorlage:KartePrevNext/style.css" />
| align="center" width="40%" style="background:#{{#switch:{{{typ}}}|Elektro=FFFF00|Farblos|#default=DDDDBB|Feuer=FEA85D|Kampf=AA8866|Pflanze=00CC00|Psycho=AA55AA|Stahl=C0C0C0|Finsternis=222222|Wasser=2E9EED}}" | [[{{Nrkarte|{{#replace:1000|01069|{{#expr:{{Kartenr|{{PAGENAME}}}}-1}}}}}}|{{color|{{#switch:{{{typ}}}|Finsternis=FFFFFF|#default=000000}}|{{Nrkarte|{{#replace:1000|01069|{{#expr:{{Kartenr|{{PAGENAME}}}}-1}}}}}}}}]]
<includeonly><div class="karteprevnext {{#ifeq:{{{typ|Farblos}}}|Finsternis|wlink|blink}}" style="{{#if:{{{typ2|}}}|{{Gradient|diagonala|{{Typ/Color/TCG|{{{typ|Farblos}}}|bg}}|{{Typ/Color/TCG|{{{typ2|{{{typ|Farblos}}}}}}|bg}}|#{{Typ/Color/TCG|{{{typ|Farblos}}}|bg}} 49.9%|#{{Typ/Color/TCG|{{{typ2|{{{typ|Farblos}}}}}}|bg}} 50.1%}}|background:#{{Typ/Color/TCG|{{{typ|Farblos}}}|bg}}}};color: #{{#ifeq:{{{typ|Farblos}}}|Finsternis|fff|000}};">
| align="center" width="20%" style="background:#{{#switch:{{{typ}}}|Elektro=EEEE00|Farblos=CCCCAA|Feuer=CF6D16|Kampf=886644|Pflanze=00AA00|Psycho=884488|Stahl=9C9C9C|Finsternis=111111|Wasser=398BCD}}" rowspan=1 | [[Basis (TCG)|{{color|{{#switch:{{{typ}}}|Finsternis=FFF|#default=000}}|'''Karten im Basis-Set'''}}]]
<div {{#if:{{{1|}}}||class="karteprevnext-none"}} style="{{#if:{{{typ2|}}}|background:rgba(255,255,255,0.3)|background:#{{Typ/Color/TCG|{{{typ|Farblos}}}|hell}}}};">{{#if:{{{1|}}}|[[{{{link1|{{{1|}}}}}}|← {{{1|}}}]]}}</div>
| align="center" width="40%" style="background:#{{#switch:{{{typ}}}|Elektro=FFFF00|Farblos|#default=DDDDBB|Feuer=FEA85D|Kampf=AA8866|Pflanze=00CC00|Psycho=AA55AA|Stahl=C0C0C0|Finsternis=222222|Wasser=2E9EED}}" | [[{{Nrkarte|{{#replace:1070|01001|{{#expr:{{Kartenr|{{PAGENAME}}}}+1}}}}}}|{{color|{{#switch:{{{typ}}}|Finsternis=FFFFFF|#default=000000}}|{{Nrkarte|{{#replace:1070|01001|{{#expr:{{Kartenr|{{PAGENAME}}}}+1}}}}}} →}}]]
<div class="karteprevnext-rund{{#if:{{{1|}}}||-oben}}{{#if:{{{2|}}}||-unten}}" style="{{#if:{{{typ2|}}}|background:rgba(255,255,255,0.3)|background:#{{Typ/Color/TCG|{{{typ|Farblos}}}|dunkel}}}};">{{#if:{{{nolink|}}}|{{{text}}}|{{#ifeq:{{PAGENAME}}|{{#replace:(TCG)||{{PAGENAME}}}}|[[{{{link|{{{set|{{#replace:Arceus|Platin – Arceus|{{#replace:/|&#32;|{{#titleparts:{{#replace:|/|{{#titleparts:{{#replace:(|/|{{PAGENAME}}}}|1|2}}}}|-1}}}}}}}}} (TCG)}}}|{{{text|Karten in der Erweiterung {{{set|{{#replace:/|&#32;|{{#titleparts:{{#replace:|/|{{#titleparts:{{#replace:(|/|{{PAGENAME}}}}|1|2}}}}|-1}}}}}}}}}}]]|{{#if:{{{set|}}}|[[{{{link|{{{set}}} (TCG)}}}|Karten in der Erweiterung {{{set}}}]]|[[Trainerkarte]]n}}}}}}</div>
|}{{clear}}
<div {{#if:{{{2|}}}||class="karteprevnext-none"}} style="{{#if:{{{typ2|}}}|background:rgba(255,255,255,0.3)|background:#{{Typ/Color/TCG|{{{typ|Farblos}}}|hell}}}};">{{#if:{{{2|}}}|[[{{{link2|{{{2|}}}}}}|{{{2|}}} →]]}}</div>
</div></includeonly><noinclude>[[Kategorie:Vorlage]]</noinclude>

Aktuelle Version vom 7. März 2024, 02:02 Uhr