Forums › English Language Forums › General › Wiki Editors

Search

Major changes to templates

4 replies [Last post]
Sun, 07/17/2011 - 07:11
Equinox's picture
Equinox
Game Master

Since the wiki has gotten to an appreciable size with a pretty impressive number of pageviews (25 million), it's time to add a little process to our editing work. For templates that are used on a lot of pages, it would be best to have a discussion about major changes you'd like to make to the template before making the change. Just a quick one to see if the rest of community agrees on your change would be good enough. If there isn't agreement, work out a consensus.

This is also important in light of the wiki issues where templates do not always update on all of the pages where they are used and may not update until that page is edited. Changes to a widely used template can also make the wiki slow for a period, so making your change via one edit is currently preferred.

For testing purposes, you can actually create a mock template in your User: space. If you want to create a mockup of your suggested changes for a template, you can just copy the original template and put it into something like User:Equinox/Testwhatever. Then you can use the mockup on something like User:Equinox/sandbox by using {{User:Equinox/Testwhatever|Blah|armor=blah blah}}.

Starting a discussion is also a great way of suggesting a change to a template even if you don't know how to make that change -- more experienced editors can help you learn how code what you're suggesting.

Sun, 07/17/2011 - 12:15
#1
Shoy
Legacy Username
I'll make sure to use that

I'll make sure to use that method next time. I didn't know you could create templates in the user space!
Sorry about this, Equinox!

Sun, 07/17/2011 - 15:58
#2
Equinox's picture
Equinox
Game Master
I had forgotten about it

I had forgotten about it myself and uh froze up the whole wiki discovering the issues I mentioned by editing something a few weeks ago. At least I assume it was my edit since it happened right after I hit save :) But luckily it recovered after a few moments.

Mon, 07/18/2011 - 01:13
#3
Pupu
Legacy Username
Hm

I would like the "small alchemy paths" tables in every equipment page, to get their data dynamically from someplace else if possible. (The list page?)
So any changes are just done in the info page, and every other page updates.
However i have no idea if this is possible, or how to make a template that gets it's data dynamically based on the name of the page and info in another page. Does the wiki have an scripting language of sorts that allows this?

Mon, 07/18/2011 - 06:45
#4
Equinox's picture
Equinox
Game Master
Sadly no, there isn't a way

Sadly no, there isn't a way to slurp data from something in that sort of manner that I know of. Right now due to the wiki updating issues related to templates, I'm not even sure that templating the alchemy path would entirely work because I've seen templates not update on pages when they've been changed. However, for things like the haze bombs and paths that show up on multiple pages, it would be worth it in the long run (the wiki will get fixed one day!) to give it a go and make it a transcluded page.*

* I'd go with naming it "Haze Bomb/Alchemy paths" and then put the whole code there (without header). Then to "use" it on a page {{:Haze Bomb/Alchemy paths}}. See the monster resistances table found on the damage article that could be used on other pages as well in the future.

Powered by Drupal, an open source content management system