Talkerst, on 05 October 2011 - 04:21 PM, said:
Currently there is a lot of repeated information between the D3_Skills information and the Skill_Description information. It seems like a headache to maintain both as can be seen by the fact that currently the D3_Skills has different info than the Skill_Descriptions. So I came up with a pretty simple solution. I've create a new D3_Skills_Overview template (D3_Skills_Description was already taken) that uses the same parameter names as D3_Skills. By doing this and changing Data:Spells/<spell name> into a very simple template you only have to enter the data in one place. I've created samples at
Data:Spells/Impale_Test,
Impale_Test and
Impale_Test_Overview.
This seems to a be a system almost identical to the one currently employed for items, and it's a good idea I think. Data is stored in the Data: namespace in the form of a template, and depending on which functionality the article requires different formats can be used.
Example:
Azurewrath
Sword List
Both those pages pull data from the same page, namely
Data:Items/Azurewrath, but they use different template to achieve it.
The item design uses the following templates:
Template:Item (must be used if anything but the default design is needed)
Data:Items/X
Template:Item Display (decides which layout is actually going to be used)
Template:Infobox Item (the default infobox)
Template:Item List (the list template seen on the sword list page above)
Talkerst, on 05 October 2011 - 04:21 PM, said:
I'd like to put this system in place to ease the burden of data entry in the future. However, it is a somewhat major shift so I didn't want to just put it in and have people object then have to roll it back out. There are a couple issues with my samples which I'll address below. If the sysops think this is a good idea I'll get to work on updating the files as soon as I can.
Implementing this change will require a lot of manual edits. Once the design is complete we can get ApocBot to do the mundane copy&paste work required on all the data pages.
Talkerst, on 05 October 2011 - 04:21 PM, said:
* This would require changing Data:Skills/<skill name> to a template. Currently all templates , that I've seen, are in the Templates namespace. Not sure how big of a deal it is to add very simple template functionality to an existing page but not place it in the templates namespace.
All data pages work like templates, in fact the namespace shows up under the template list when you edit a page same as proper templates. And if the item layout above is mimicked then the Item template (preferably called Template:Skill in this case) will serve as a template for all skills.
Talkerst, on 05 October 2011 - 04:21 PM, said:
* I'm not sure how the skills pages are being updated. If it's via a script the script will probably need to be modified but the changes are trivial (see
Data:Spells/Impale_Test).
It was done by script once, and it may be done again. But for the most part it will be manual.
Also a quick note, the wiki makes no distinction between empty spaces and "_", so you don't have to include underscores most of the time.