Hello guys, I am currently in trouble because I am trying to create a website for some friends. However, my big issue is that this code is so freaking huge but I am having a hard time understanding it so I may edit + make the pages better!

Would anyone be willing to take a look at this wikifoundry page sources and cleaning them up?

1st URL : view-source:http://leviathanrp.wikifoundry.com/

2nd URL : http://pastebin.com/fwf0VsgU

3rd URL : http://pastebin.com/1x6WXU3t

My first thoughts on these codes is that I only need the code that goes from
<!--google_ad_section_end--></div><!-- google_ad_section_start -->
sections. Aside from that, would someone be willing to clean the code and make notes for what each thing does? x_X. Thanks!

NOTE : If I have to, I can pay if you help ;-;