View Full Version : Item Pages - wiki authors, please read


prisoner
11-03-2006, 12:24 PM
I'm posting this here because I think most editors will notice it easier than if I made a page on the wiki.

I noticed some problems yesterday when someone tried to edit the "retired" date for a halloween item. All of the halloween items are done as includes, so if you look at the page where they are (for example, take a look at Halloween Month (http://www.disneysonlineworlds.com/index.php/Halloween_Month), and then look at its source, you'll see one entry per line.

This uses a feature called "templates", so each item is on a page of its own. To actually edit the item, you need to go to that page. You can just enter the page name in (usually the name of the item), or you can click on the picture, and then follow a link at the bottom of "pages that include this picture" to the item.

This may look more complex, but in a few ways its better. It lets us include the same item on many pages, and update that item only once when there are changes. It also lets us do some automatic categorization (for example, this is helping develop an automatic list of furniture. Soon I want to move beta items into this format and do the same.), and the inventory list pages are much easier to read.

If there are questions about how this is done, the Halloween Month (http://www.disneysonlineworlds.com/index.php/Halloween_Month) and Tron Month (http://www.disneysonlineworlds.com/index.php/Tron_Month) pages are where I started this, so they're good examples of where to look. Or feel free to ask me here or on my talk page (http://www.disneysonlineworlds.com/index.php/User_talk:Prisoner)

SpinMarty
11-03-2006, 02:12 PM
Thank you for posting this. I spent a few moments yesterday rectifying the situation with not only the templates but the date format and a few other mistakes.

After resisting for a while, I am totally convinced about the item templates but that is going to take some time to move it all around.

Editors, if you are unsure about something, take a moment to see how things are done on any edit page, as well as feel free to PM myself or Prisoner.

Thanks,
SM

Penguinz
11-03-2006, 02:47 PM
Yeah, I had to look at the edit page for a long time, staring at the code.. back and forth. It helps.