Open main menu

Bulbapedia β


Template talk:Spindata/GO

1,573 bytes added, 5 February
Automatic way to update all stats: new section
::And as for branched evolution, see the {{p|Poliwhirl}}, {{p|Slowpoke}}, etc pages as they are. I already re-formatted those using the current templates.
::Listing the type icons under the Pokemon sprite is just an aesthetic thing, since I added a new row, I figured we need something nice looking to fill the space. [[User:TehPerson|TehPerson]] ([[User talk:TehPerson|talk]]) 16:52, 27 January 2019 (UTC)
== Automatic way to update all stats ==
Almost all the stats for the older Pokémon on the mainspace are grossly outdated, and after manually editing a few pages, I realize that updating the stats page-by-page isn't humanly efficient. Instead, I made a sort of "lookup table" for the stats:
*[[User:TehPerson/GO HP]]
*[[User:TehPerson/GO Attack]]
*[[User:TehPerson/GO Defense]]
I have already fully tested the template, even when used within other templates, [[User:TehPerson/List of Pokémon by base stats (GO)|here]].
To get the stat for a specific Pokémon, like Bulbasaur, simply type in the dex ID you would for [[Template:MSP]]
:<code><nowiki>{{User:TehPerson/GO HP|001}}</nowiki></code> → '''{{User:TehPerson/GO HP|001}}'''
It also uses the same naming convention for alternative forms, so if you need stats for Alolan Raichu, simply type 026A instead of 026:
:<code><nowiki>{{User:TehPerson/GO Attack|026}}</nowiki></code> → '''{{User:TehPerson/GO Attack|026}}'''
:<code><nowiki>{{User:TehPerson/GO Attack|026A}}</nowiki></code> → '''{{User:TehPerson/GO Attack|026A}}'''
I'm not going to continue updating the pages one-by-one, and it doesn't seem like anyone else wants to either. These lookup templates takes me only seconds to update, in case Niantic puts changes into the gamemaster file. And if any of the admins want, I can share the spreadsheet I use to parse the gamemaster file into these templates. (It's basically just a copy-paste operation)
[[User:TehPerson|TehPerson]] ([[User talk:TehPerson|talk]]) 23:57, 5 February 2019 (UTC)