Board Thread:Support Requests - Getting Technical/@comment-3271569-20130428132942/@comment-303594-20130429174350

Glad you could understand it, one of the advantages of python is that it's easy to produce clear code

Sort of, %s means "look at the end of the string, and take the next value after the % sign" (s stands for string)

so

is a string where %s is replaced by the value in "attack" each time.

.put saves the page, so we need to do some more coding in order to make this work - with the tables, we can build a very large string, and then save it all at the end.

To run this on wikia you need the pywikipedia bot framework, and you'll need to run it on your own computer. I'm happy to do this for you.