Vorlage:PokémonPrevNext: Unterschied zwischen den Versionen

Aus PokéWiki
Navigation Suche
K (Kompatibilität mit Anime-Artikeln ergänzt)
K
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
 
<noinclude>{{Vielfach verwendet}}<br />
 
<noinclude>{{Vielfach verwendet}}<br />
</noinclude>{| {{#vardefine:Pkmn-nr|{{Namenr|{{#replace:(Anime)||{{PAGENAME}}}}}}}} width="100%" class="round whitelinks" style="padding: 0.2em; margin-bottom: 1em; background:#{{Typ/Color/{{#vardefineecho:Pkmn-typ1|{{{Typ1|{{Id2Typ1|{{#var:Pkmn-nr}}}}}}}}}-dunkel}}; border: 3px solid #{{Typ/Color/{{#vardefineecho:Pkmn-typ2|{{{Typ2|{{Id2Typ2|{{#var:Pkmn-nr}}}}}}}}}-dunkel+}}; color:#ffffff;"
+
</noinclude>{| {{#vardefine:Pkmn-nr|{{Namenr|{{#replace:(Anime)||{{PAGENAME}}}}}}}} width="100%" class="round {{#ifeq:{{#titleparts:{{#replace:|/|{{PAGENAME}}}}|1|2}}|(Anime)|whitelinks|blacklinks}}" style="margin-bottom: 1em; background:#{{Typ/Color/{{#vardefineecho:Pkmn-typ1|{{{Typ1|{{Id2Typ1|{{#var:Pkmn-nr}}}}}}}}}-dunkel}}; border: 3px solid #{{Typ/Color/{{#vardefineecho:Pkmn-typ2|{{{Typ2|{{Id2Typ2|{{#var:Pkmn-nr}}}}}}}}}-dunkel+}}; color:#{{#ifeq:{{#titleparts:{{#replace:|/|{{PAGENAME}}}}|1|2}}|(Anime)|FFFFFF|000000}};"
| align="center" width="25%" | <div class="left">← {{{1|{{#icon:{{#ifeq:{{ns:10}}|{{NAMESPACE}}|809|{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Bisasam|809|{{padleft:{{#expr:{{#var:Pkmn-nr}}-1}}|3|0}}}}}}}} [[{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Bisasam|Melmetal|{{Nrname|{{#expr:{{#var:Pkmn-nr}}-1}}}}}} {{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|{{PAGENAME}}||(Anime)}}|'''{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Bisasam|Melmetal|{{Nrname|{{#expr:{{#var:Pkmn-nr}}-1}}}}}}''']]}}}</div>
+
|
| align="center" width="50%" | [[Pokémon-Liste]]<includeonly>{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|{{PAGENAME}}|{{#ifexist:{{PAGENAME}} (Anime)|&nbsp;•&nbsp;[[{{PAGENAME}} (Anime)|Anime-Auftritte]]}}|{{#ifexist:{{#replace:(Anime)||{{PAGENAME}}}}|&nbsp;•&nbsp;[[{{#replace:(Anime)||{{PAGENAME}}}}|Spezies]]}}}}{{#ifexist:{{#replace:(Anime)||{{PAGENAME}}}} (TCG)|&nbsp;•&nbsp;[[{{#replace:(Anime)||{{PAGENAME}}}} (TCG)|Sammelkarten]]}}{{#if:{{{BKL|}}}|&nbsp;•&nbsp;[[{{#replace:(Anime)||{{PAGENAME}}}} (Begriffsklärung)|Begriffsklärung]]|}}</includeonly>
+
{| {{#ifeq:{{#titleparts:{{#replace:|/|{{PAGENAME}}}}|1|2}}|(Anime)||style="background:#{{Typ/Color/{{#var:Pkmn-typ1}}-hell}};"}} class="round"
| align="center" width="25%" | <div class="right">{{{2|{{#icon:{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Melmetal|001|{{padleft:{{#expr:{{#var:Pkmn-nr}}+1}}|3|0}}}}}} [[{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Melmetal|Bisasam|{{Nrname|{{#expr:{{#var:Pkmn-nr}}+1}}}}}} {{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|{{PAGENAME}}||(Anime)}}|'''{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Melmetal|Bisasam|{{Nrname|{{#expr:{{#var:Pkmn-nr}}+1}}}}}}''']]}}} →</div>
+
| style="text-align:left" width="25%" | ← {{{1|{{#icon:{{#ifeq:{{ns:10}}|{{NAMESPACE}}|809|{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Bisasam|809|{{padleft:{{#expr:{{#var:Pkmn-nr}}-1}}|3|0}}}}}}}} [[{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Bisasam|Melmetal|{{Nrname|{{#expr:{{#var:Pkmn-nr}}-1}}}}}} {{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|{{PAGENAME}}||(Anime)}}|'''{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Bisasam|Melmetal|{{Nrname|{{#expr:{{#var:Pkmn-nr}}-1}}}}}}''']]}}}
 +
| style="text-align:center" width="50%" | [[Pokémon-Liste]]<includeonly>{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|{{PAGENAME}}|{{#ifexist:{{PAGENAME}} (Anime)|&nbsp;•&nbsp;[[{{PAGENAME}} (Anime)|Anime-Auftritte]]}}|{{#ifexist:{{#replace:(Anime)||{{PAGENAME}}}}|&nbsp;•&nbsp;[[{{#replace:(Anime)||{{PAGENAME}}}}|Spezies]]}}}}{{#ifexist:{{#replace:(Anime)||{{PAGENAME}}}} (TCG)|&nbsp;•&nbsp;[[{{#replace:(Anime)||{{PAGENAME}}}} (TCG)|Sammelkarten]]}}{{#if:{{{BKL|}}}|&nbsp;•&nbsp;[[{{#replace:(Anime)||{{PAGENAME}}}} (Begriffsklärung)|Begriffsklärung]]|}}</includeonly>
 +
| style="text-align:right" width="25%" | {{{2|{{#icon:{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Melmetal|001|{{padleft:{{#expr:{{#var:Pkmn-nr}}+1}}|3|0}}}}}} [[{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Melmetal|Bisasam|{{Nrname|{{#expr:{{#var:Pkmn-nr}}+1}}}}}} {{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|{{PAGENAME}}||(Anime)}}|'''{{#ifeq:{{#replace:(Anime)||{{PAGENAME}}}}|Melmetal|Bisasam|{{Nrname|{{#expr:{{#var:Pkmn-nr}}+1}}}}}}''']]}}} →
 +
|
 +
|}
 
|}<noinclude>
 
|}<noinclude>
 
[[Kategorie:Vorlage]]
 
[[Kategorie:Vorlage]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 3. Dezember 2019, 11:30 Uhr