Thread:AyumiFanBoy/@comment-131168-20150202002409/@comment-131168-20150204000912

Have you ever made a template before? I say not because I couldn't do what you're asking easily enough, but that it's easy enough I think you could do it and you'd have one more skill under your belt. :) For what you're wanting to do, which is just have it save a little piece of wikicode that you can use again and again, it's really simple. Just go to Template:MonthlyChart or Template:YearlyChart or whatever you want to call it with Template: at the beginning. Choose to create it as you would with any other page. Paste in the part from above, save it. That's it, now you can use or  or whatever you called it and it will be there.

Templates only really get more complicated than any other page once you start having it do different things based on additional parameters, like the infoboxes.