==MrFrye's Skill ProposalTemplates (for editors)==As we all knowThanks to Dorjan, this is what skill templates that pull data directly from the rune effects table looks like right DB are now:available.
===Active skills===A typical Active Skill:<skill class="Barbarian">Bash</skill>The code for this is pretty simple: <nowiki><skill class="WizardBarbarian">Ray of FrostBash</skill></nowiki>
As I see it, there are some issues with this:
# It takes up too much real estate. Even at 1960x1080, it barely all fits on the screen. At any lower resolution, you Some skills have to scroll to see all the data. This may not be an issue for everyone.# The rune effects are listed in the order that they're listed in the DB table (by rune icon). This is a problem that is not easily solved when pulling all the rune effects from the table at once.# As several people have mentioned"sub-category", the rune icons are too big. I address this in the first such as [[Mantra]] or [[Diablo Wiki:Sandbox#Update, part the 1st|updateShout]] below.An example:<skill subcat="Bow skill" class="DemonHunter">Hungering Arrow</skill>This needs just a little more code: <nowiki><skill subcat="Bow skill" class="DemonHunter">Hungering Arrow</skill></nowiki>
A typical skill rune effect:<skill class="Barbarian" rune==The Proposal==="Clobber">Bash</skill>'''The heart of the system I'm proposing This is having a method for extracting just another variation of the basic code: <nowiki><skill class="Barbarian" rune="advanced tooltipClobber" field from the >Bash</skill descriptions in the database''' (which Rushster assures me is possible). I came up with idea when I realized that once the game starts, skill names and levels are never going to change - just the descriptions. Now for... less talk, more examples!></nowiki>
Here's what a typical Active Skill would look like:
{{Wizard Skill Ray of Frost}}
And a Skill RuneSo an active skill with rune effects looks like this:{{Wizard Skillrune Sleet Stormskill description header}}<skill class="Barbarian">Bash</skill><skill class="Barbarian" rune="Clobber">Bash</skill><skill class="Barbarian" rune="Onslaught">Bash</skill><skill class="Barbarian" rune="Punish">Bash</skill><skill class="Barbarian" rune="Instigation">Bash</skill><skill class="Barbarian" rune="Pulverize">Bash</skill>
And a Passive Skill: <nowiki>{{Barbarian Passive Pound of Fleshskill description header}}<skill class="Barbarian">Bash</skill><skill class="Barbarian" rune="Clobber">Bash</skill><skill class="Barbarian" rune="Onslaught">Bash</skill><skill class="Barbarian" rune="Punish">Bash</skill><skill class="Barbarian" rune="Instigation">Bash</skill><skill class="Barbarian" rune="Pulverize">Bash</skill></nowiki>
Notice they all look pretty much the same, except for the "Secondary" in the active skill. One of the features of this system is the ability to add the category for active skills.
===Passive skills===
A typical passive skill:
<skill class="DemonHunter">Tactical Advantage</skill>
The code for this is exactly the same as for active skills:
<nowiki><skill class="DemonHunter">Tactical Advantage</skill></nowiki>
===Variations===
Now, here's where things get interesting. For our first example, let's take the passive skill [[Pound of Flesh]]. At the moment, the skill description looks like this:
{{Skill description header}}
{{Barbarian Passive Pound of Flesh}}
Another possibility would This method can also be thisused to show the passive skill flavor text:{{Barbarian Passive Pound of Flesh|showlvl=yes}}Which might be better for tables with a single entry. The optional "Level" label is another feature.
<skill flavor="yes" class="DemonHunter">Tactical Advantage</skill>
Our second example involves background color. This one's called <nowiki><skill flavor="darkmaroonyes":{{Wizard Skill Arcane Torrent|colorclass=darkmaroon}}Actually, that's the only color listed. But more can be easily added if anyone really wants to."DemonHunter">Tactical Advantage</skill></nowiki>
The third example doesn't show anything new, however eventually Making the [[Wizard skills]] page will need to list the skills by category. No problem:{{Skill standard description header}}{{Wizard Skill Ray of Frost}}{{Wizard Skill Arcane Orb}}{{Wizard Skill Arcane Torrent}}{{Wizard Skill Disintegrate}} Our last example is on a demonstration of what the rune effects table would look like with this systempassive skill page:{{Skill skill description header}}{{Wizard Skill Ray of Frost|color<skill class=darkmaroon}}{{"Wizard Skillrune Sleet Storm}}{{Wizard Skillrune Cold Blood}}{{Wizard Skillrune Snow Blast}}{{Wizard Skillrune Numb}}{{Wizard Skillrune Black Ice}}If that looks familiar, that's because it is indeed pretty much the same as the old version, just with different rune icons. ">Power Hungry</skill><skill flavor="yes" class==Bonus Feature===There's one additional benefit. I already have an example on the [[Arcane Torrent rune effects]] page, but I'll repeat it here. Instead of having these spread out all over:{{"Wizard Skillrune Black Ice|showlvl=yes}}">Power Hungry</skill>We could have this in the rune effect pages: [[Black Ice]] is unlocked at level 53.* Enemies killed with Ray of Frost leave behind a patch of ice that deals { <nowiki>{c_lime|193%}} weapon damage as Cold to enemies moving through it over {{c_lime|3}} seconds. The biggest benefit, of course, is that this method doesn't get in the way of plastering images all over the page. ===Final Notes===It was very important to me to make sure that all active skills, passive skills, and rune effects call the same template: [[Template:Skill description]]. So if anyone wants to make changes to the look or style of these tables, only one page needs to be edited. Also, I tried to make the system as flexible as possible. ===Update, part the 1st===In the past day, I've developed a couple of additions. The first is an idea of Risingred's - using smaller icons for the runes:{{Skill skill description header}}{{Wizard Skill Arcane Torrent|color<skill class=darkmaroon}}{{"Wizard Skillrune Disruption}}{{Wizard Skillrune Death Blossom}}{{Wizard Skillrune Arcane Mines}}{{Wizard Skillrune ">Power Stone}}Hungry</skill>{{Wizard Skillrune Cascade}}I like it. In fact, I like it so much that I want the smaller icons to be the default for rune effects. The second addition came from the realization that I could add a feature that was in the old system: the sub-category. For example:{{Wizard Skill Magic Missile|showlvl<skill flavor="yes}} Also, I realized that I could use a variation of that for passive skills:{{" class="Wizard Passive Prodigy|showlvl=yes|subcat=See:">Power Hungry</skill><br/nowiki>[[Signature spell]]s}}That's cool. Like bow-ties. Anyway, here endeth the first update. ===Update, part the 2nd===This is a small update; an update to the previous update, as it were. First, people seem to like the smaller rune icons, so I created a template that always displays the rune icons in the smaller size. Arcane Torrent up there uses the new system, while Ray of Frost used the old one. The size of the rune icons is defined as 40 pixels in [[Template:Rune description]], so if anyone thinks they're still too big, you can change the size there.
{{Help navbox}}