Forum:Quest Experience Rewards Template

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Quest Experience Rewards Template
Archive
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 15 December 2009 by Quarenon.

Hi!

I have recently made an experimental template in my sandbox (User:Newbie856/sandbox/QuestexperienceReward). This Template is a very simple function to write the quest experience rewards of one skill by setting the parameter skill at the skill of your choice.

I have made this post to ask if I should replace every page with quest experience rewards (skills, the actual page) with this template (and actually create a real template).

Pros

  • Only one page to edit.
  • Less server load (I think)
  • Easier to post on any page

Cons

  • Harder to edit the actual template
  • Some more unfamiliar with the Wiki Syntax may want to correct a mistake and not be able to do so due to it being a template.

Here is an actual example of the template:

User:Newbie856/sandbox/QuestexperienceReward| skill=Agility

(Note: The TOC doesn't appear if there is already a TOC on the page, which there is on every skill page)

So tell me what do you think, should it be made into an actual template or should wiki be left as it is?

Quest point cape.pngTalk Newbie856 edit count Nomad guideMusic icon.png 02:52, October 10, 2009 (UTC)

Discussion

Comment - You can remove the TOC by using __NOTOC__ anywhere within the template.

One thing that bothers me if the size of the template, close to 30kb. And since you used the SWITCH function, you would by loading the template multiple times in the Quest experience rewards page. In the other skill pages, you would still be loading the entire template. Comparing the original page and your userpage, you have increased the "Preprocessor node count" from 29 to 55 using information from the Agility skill alone. Based on Wikipedia:Template limits, "Multiple expansions of the same template will count towards the node count multiple times, unless the template has no arguments." So, technically, you would be increasing the server load, rather than reducing it.

Another issue is, as you pointed out, the complexity of editing the data. Since the template doesn't display the data, it would be harder to edit since a user has to locate something in the template coding in order to update the information. I find this too cumbersome and unnecessary.

What I would suggest to is to break up the Quest experience rewards page into separate sub-pages for each skill, and transclude these sub-pages wherever it is needed. By doing this, you would only be loading the relevant sub-pages in the skill pages, instead of loading the entire template. For an example of how this is done, see Development Diary: Q&A. Even though the page is long, because I used multiple sub-pages, the loading is quite fast, and the editing of each "part" is made easier since each section is transcluded from its own sub-page.   az talk   05:43, October 10, 2009 (UTC)

Reply to comment - There is an all option in the template, so you can type

{{User:Newbie856/sandbox/QuestexperienceReward|skill=All}}

and it would display all skills, althought, I agree that it is quite big, I can halve the size if I can find out how to make each skill line switch in the case of the relevent skill OR if the skill is all. If I can manage to do that, it would reduce alot of serverload.

As for the template itself, there is almost no template code and all the non-template areas are clearly defined, so it would be a bit harder to edit it, but not that much.

User:Newbie856/sandbox/QuestexperienceReward

Also, the TOC didn't show on any of the pages I tested it on, although it was shown here, weird, if it appears we can easily add the NOTOC magic word.

Quest point cape.pngTalk Newbie856 edit count Nomad guideMusic icon.png 13:16, October 10, 2009 (UTC)


Request For Closure - Not used anymore, doesn't really even help that much. Quest point cape.pngTalk Newbie856 edit count Nomad guideMusic icon.png 21:24, December 15, 2009 (UTC)


Closed - Per author request. --Quarenon  Talk 22:50, December 15, 2009 (UTC)