Skip to content

Some scripts which are useful to generate data/templates for the Dutch Pokémon Fandom

Notifications You must be signed in to change notification settings

KyrumX/python3-dutch-pokemon-fandom-scripts

Repository files navigation

python3-dutch-pokemon-fandom-scripts

Some scripts which are useful to generate data/templates for the Dutch Pokémon Fandom

Scripts:

Be sure to install the requirements.txt !

The nl_pkmn_fandom_list_generator script can be used to generate a generation Pokémon lists, possible types (sources): Serebii

`python3 nl_pkmn_fandom_list_generator.py -url {the url}

Sample output for python3 nl_pkmn_fandom_list_generator.py -url https://www.serebii.net/pokemon/gen7pokemon.shtml:

{| class="wikitable sortable"  style="text-align: center; font-size: 90%"
!
! Engels
! Type (1)
! Type (2)
!  Afbeelding
 |-
| 722
| [[Rowlet]]
| {{Type|Gras}}
| {{Type|Vliegend}}
| [[Bestand:722.png]]
|-
| 723
| [[Dartrix]]
| {{Type|Gras}}
| {{Type|Vliegend}}
| [[Bestand:723.png]]
|-
| 724
| [[Decidueye]]
| {{Type|Gras}}
| {{Type|Geest}}
| [[Bestand:724.png]]
|-
| 725
| [[Litten]]
| {{Type|Vuur}}
| Geen
| [[Bestand:725.png]]
|-
| 726
| [[Torracat]]
| {{Type|Vuur}}
| Geen
| [[Bestand:726.png]]
|-
| 727
| [[Incineroar]]
| {{Type|Vuur}}
| {{Type|Duister}}
| [[Bestand:727.png]]
|-
| 728
| [[Popplio]]
| {{Type|Water}}
| Geen
| [[Bestand:728.png]]
|-
| 729
| [[Brionne]]
| {{Type|Water}}
| Geen
| [[Bestand:729.png]]
|-
|}

`python3 nl_pkmn_fandom_entry_generator -url {the url}

Sample output for python3 nl_pkmn_fandom_entry_generator.py -url "https://bulbapedia.bulbagarden.net/w/index.php?title=Rockruff_(Pok%C3% A9mon)&action=edit":

{{PokémonInfobox
| naam        = Rockruff
| jnaam       = イワンコ Iwanko
| ndex        = 744
| ndexvorig   = Ribombee
| ndexvolgend = Lycanroc
| gen         = Generatie VII
| soort       = Puppy Pokémon
| type        = Steen
| metgewicht  = 9.2 kg
| metlengte   = 0.5 m
| imgewicht   = 20.3 lbs.
| imlengte    = 1'08"
| gave        = [[Keen Eye]]<br />[[Vital Spirit]]<br />[[Own Tempo]]
| dw          = Steadfast
| mannelijk   = 50
| ei1         = Veld
| evoin       = Lycanroc
| evo         = [[Bestand:744.png|link=Rockruff]][[Bestand:745.png|link=Lycanroc]]
}}

About

Some scripts which are useful to generate data/templates for the Dutch Pokémon Fandom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published