User:Tiddlywinks/EvoBox

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 21:33, 14 May 2023 by Tiddlywinks (talk | contribs) (Removing an extraneous parameter)
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽

At the moment, I've made the new template into a more explicit "builder". That's mostly just how I was able to get a handle on things; but it has some ups and downs.

The EvoMon templates make you include a bit ("Unevolved"/etc) that the old template didn't. But on the other hand, all the "evo1", "evo2a", "art#", "type#-#" etc in the old template is kinda finicky and can be pretty confusing; whereas having all the parameters for one Pokémon just ordered within a single template should be much more understandable.

But overall, they look fundamentally the same. Except on mobile where you can see that the old template breaks while the new one stays how it's meant to look. (You can look at the live species page or preview here; the old version is commented out just because of categories.)

Ralts (Pokémon)#Evolution

Divs (new)

User:Tiddlywinks/EvoBox/v2, User:Tiddlywinks/EvoBox/pattern112

Tables (old)

Template:Evobox/2branch2

{{Evobox/2branch2
|type1=Psychic|type2=Fairy
|no1=0280|name1=Ralts|type1-1=Psychic|type2-1=Fairy
|evo1={{Bag/s|Rare Candy|SV}}<br>{{color2|000|Level|Level 20}}
|no2=0281|name2=Kirlia|type1-2=Psychic|type2-2=Fairy
|evo2a={{Bag/s|Rare Candy|SV}}<br>{{color2|000|Level|Level 30}}
|no3a=0282|name3a=Gardevoir|type1-3a=Psychic|type2-3a=Fairy
|evo2b={{Bag/s|Dawn Stone|SV}} + [[File:Male icon SV.png|link=Gender]]<br>{{color2|000|Dawn Stone}}<br><small>({{color2|000|Gender|male}})</small>
|no3b=0475|name3b=Gallade|type1-3b=Psychic|type2-3b=Fighting
}}

Goomy (Pokémon)#Evolution

Divs (new)

User:Tiddlywinks/EvoBox/v2, User:Tiddlywinks/EvoBox/pattern122

Goomy
Unevolved
Rare Candy
Level 40
outside of Hisui
Sliggoo
First evolution
Rare Candy +
Level 50
(during rain or fogSwSh)
Goodra
Second evolution
Sliggoo
First evolution
Rare Candy +
Level 50
(during rain or fog)
Goodra
Second evolution

Tables (old)

Template:Evobox/2branch1

{{Evobox/2branch1
|type1=Dragon
|no1=0704
|name1=Goomy
|type1-1=Dragon
|evo1a={{Bag/s|Rare Candy|SV}}<br>{{color2|000|Level|Level 40}}<br>outside of {{color2|000|Hisui}}
|no2a=0705
|name2a=Sliggoo
|type1-2a=Dragon
|evo1b={{Bag/s|Rare Candy|SV}} + {{bag/s|Celestica Flute|LA|Hisui}}<br>{{color2|000|Level|Level 40}}<br>in {{color2|000|Hisui}}
|art2b=0705Sliggoo-Hisui
|name2b=Sliggoo
|type1-2b=Steel
|type2-2b=Dragon
|form2b=Hisuian Form
|evo2a={{Bag/s|Rare Candy|SV}} + [[File:Rain icon SwSh.png|40px]][[File:Fog icon SwSh.png|40px]]<br>{{color2|000|Level|Level 50}}<br><small>(during {{color2|000|rain}} or {{color2|000|fog}}{{sup/8|SwSh}})</small>
|evo2b={{Bag/s|Rare Candy|SV}} + [[File:Rain icon SwSh.png|40px]][[File:Fog icon SwSh.png|40px]]<br>{{color2|000|Level|Level 50}}<br><small>(during {{color2|000|rain}} or {{color2|000|fog}})</small>
|no3a=0706
|name3a=Goodra
|type1-3a=Dragon
|art3b=0706Goodra-Hisui
|name3b=Goodra
|type1-3b=Steel
|type2-3b=Dragon
|form3b=Hisuian Form
}}

Slowpoke (Pokémon)#Evolution

Divs (new)

User:Tiddlywinks/EvoBox/v2, User:Tiddlywinks/EvoBox/pattern12

Tables (old)

Template:Evobox/1branch2

{{Evobox/1branch2
|type1=Water
|type2=Psychic
|no1=0079
|name1=Slowpoke
|type1-1=Water
|type2-1=Psychic
|evo1a={{Bag/s|Rare Candy|SV}}<br>{{color2|000|Level|Level 37}}
|no2a=0080
|name2a=Slowbro
|type1-2a=Water
|type2-2a=Psychic
|evo1b=[[File:Link Trade icon SV.png|40px|link=Trade]] + {{Bag/s|King's Rock|SV}}<br>{{color2|000|Trade}}<br>holding {{color2|000|King's Rock}}
|no2b=0199
|name2b=Slowking
|type1-2b=Water
|type2-2b=Psychic}}

Tyrogue (Pokémon)#Evolution

Divs (new)

User:Tiddlywinks/EvoBox/v2, User:Tiddlywinks/EvoBox/pattern13

Tables (old)

Template:Evobox/1branch3

This is currently only used for Tyrogue, but it can also be used for Rockruff. (Either it should be modified, or just replaced with the new div-evobox.)

{{evobox/1branch3}}

Farfetch'd (Pokémon)#Evolution

Divs (new)

User:Tiddlywinks/EvoBox/v2, User:Tiddlywinks/EvoBox/pattern1

Tables (old)

Template:Evobox-1

{{Evobox-1
|type1=Normal
|type2=Flying
|pictype=art
|no1=0083
|name1=Farfetch'd
|type1-1=Normal
|type2-1=Flying}}

Psyduck (Pokémon)#Evolution

Divs (new)

User:Tiddlywinks/EvoBox/v2, User:Tiddlywinks/EvoBox/pattern11

Psyduck
Unevolved
Golduck
First evolution

Tables (old)

Template:Evobox-2

{{Evobox-2
|type1=Water
|pictype=art
|no1=0054
|name1=Psyduck
|type1-1=Water
|evo1={{Bag/s|Rare Candy|SV}}<br>{{color2|000|Level|Level 33}}
|no2=0055
|name2=Golduck
|type1-2=Water}}

Bulbasaur (Pokémon)#Evolution

Divs (new)

User:Tiddlywinks/EvoBox/v2, User:Tiddlywinks/EvoBox/pattern111

Tables (old)

Template:Evobox-3

{{Evobox-3
|type1=Grass
|type2=Poison
|pictype=art
|no1=0001
|name1=Bulbasaur
|type1-1=Grass
|type2-1=Poison
|evo1={{Bag/s|Rare Candy|SV}}<br>{{color2|000|Level|Level 16}}
|no2=0002
|name2=Ivysaur
|type1-2=Grass
|type2-2=Poison
|evo2={{Bag/s|Rare Candy|SV}}<br>{{color2|000|Level|Level 32}}
|no3=0003
|name3=Venusaur
|type1-3=Grass
|type2-3=Poison}}

TBD

Many of these can probably be customized more easily with the div format than the old format could, so fewer of these custom templates may be needed. I think most are just futzing with the method, and you should just be able to replace it wholesale using User:Tiddlywinks/EvoFree.

Will also need to integrate the proper categories to all of these. I may actually need to include them with a method similar to the patterns since I've combined everything in one... (Should be fine.)