EverQuest 2 Wiki
No edit summary
(comment)
Line 17: Line 17:
   
 
You can do nested ifs (ie, in pseudocode: if(a){ if(b){ stuff for aANDb} else aNOTb } else NOTa ), if that's what you're looking to do. --[[User:Lordebon|lordebon]] 23:36, May 6, 2010 (UTC)
 
You can do nested ifs (ie, in pseudocode: if(a){ if(b){ stuff for aANDb} else aNOTb } else NOTa ), if that's what you're looking to do. --[[User:Lordebon|lordebon]] 23:36, May 6, 2010 (UTC)
  +
  +
  +
Nice work thus far, Jaudark, though I wanted to point out pre-existing [[:Category:Toon Userboxes|Toon Userboxes]] only to illuminate that we've already got the [[Template:User Subclass Epic|User Subclass Epic]] template and to then suggest following similar language style for your "converted" userboxes. Mainly, because it seems to me that after any remaining kinks get worked out of your code, the [[Template:User Subclass Epic|Epic weapon template]] could be modified to include your code specifically for converted/"Ennervated" weapons.<br>
  +
If you follow my meaning, and don't object, I'd suggest changing the converted texts to match pre-existing texts and read:
  +
:*<nowiki>{{User:Jaudark/TestTemplate|SUBCLASS|converted=y}}</nowiki><br>
  +
:With the text stating ''"I have completed both the <nowiki>[[SUBCLASS Epic Timeline|SUBCLASS Epic]]</nowiki> and [[Epic Repercussions]] and have received the <nowiki>[[ENERVATED WEAPON]]</nowiki>"''
  +
:*<nowiki>{{User:Jaudark/TestTemplate|SUBCLASS|toon=TOON_NAME|converted=y}}</nowiki><br>
  +
:With the text stating ''"TOON_NAME has completed both the <nowiki>[[SUBCLASS Epic Timeline|SUBCLASS Epic]]</nowiki> and [[Epic Repercussions]] and has received the <nowiki>[[ENERVATED WEAPON]]</nowiki>"''<br>
  +
Other than that, save for a few redlinks, I'm loving what you've developed thus far mate! What a great contribution! -- [[User:Mysterious drake|Mysterious drake]] 04:13, May 7, 2010 (UTC)

Revision as of 04:13, 7 May 2010


I was wondering how to put the links for the spells of the epic conversion. I just done the Inquisitor's and I took the links from the logs. I'll put these under the discution pages for each 2 of the spells. Also, i was wondering if an admin could orient me on how to make a new user template for the epic conversion. I think it would be easier to do a new template then to modify the current one. Jaudark 19:19, May 5, 2010 (UTC)

Regarding the links, our spell template does not currently have a spot for item links, since most spell pages are designed to cover the full range of qualities (and thus a single item link does not make sense). However, I'll look at putting in a way to add an item link when the spell is non-upgradable in the quality sense. As for your other point, while it might be easier to do a new template modifying the old one keeps things more compact. If you have a specific idea for what you want it to look like when you have the enervated version, just let us know and we can update that template. You are, of course, welcome to make your own separate template if you have a burning desire to do so. For that I would suggest looking at an existing simple userbox template and then copy and modify that to get you started. --lordebon 21:38, May 5, 2010 (UTC)
well if i'd modify it, i would guess something like a enervated tag just like the upgraded tag would do the trick. if so i could try and modify it myself and we can always roll back in case it doesn't work perfectly. Jaudark 03:25, May 6, 2010 (UTC)
Go for it. One of the cardinal tenets of Wikipedia that we embrace here at EQ2i is be bold, meaning go ahead and edit things to make them better. If you'd like, you can always copy the code to a new template (say Template:Sandbox or something similarly named) and fiddle with it there until you get it to your liking and then copy the code back to the original template. The "test then copy" paradigm of template changes is a pretty common one, and some more template-focused users here have their own test templates so that they can test changes to a major template before implementing them. --lordebon 03:57, May 6, 2010 (UTC)
So i modified the Template. I use it on my user page. At the moment, the box did gain a lot of weight (about 2 lines more). The template is here and you can see what it looks like for all the classes here Jaudark 18:30, May 6, 2010 (UTC)
I did noticed a bug with it and i couldn't figure out how to fix it. If you check under this page here, you'll see the Berzerker and the Guardian have a problem. The #ifeq only takes 2 strings, so there's prob gonna need a #ifeq to see if converted or just upgrade, then go from there, but i don't know if wikia can do a 'if' loop. Jaudark 18:42, May 6, 2010 (UTC)

You can do nested ifs (ie, in pseudocode: if(a){ if(b){ stuff for aANDb} else aNOTb } else NOTa ), if that's what you're looking to do. --lordebon 23:36, May 6, 2010 (UTC)


Nice work thus far, Jaudark, though I wanted to point out pre-existing Toon Userboxes only to illuminate that we've already got the User Subclass Epic template and to then suggest following similar language style for your "converted" userboxes. Mainly, because it seems to me that after any remaining kinks get worked out of your code, the Epic weapon template could be modified to include your code specifically for converted/"Ennervated" weapons.
If you follow my meaning, and don't object, I'd suggest changing the converted texts to match pre-existing texts and read:

  • {{User:Jaudark/TestTemplate|SUBCLASS|converted=y}}
With the text stating "I have completed both the [[SUBCLASS Epic Timeline|SUBCLASS Epic]] and Epic Repercussions and have received the [[ENERVATED WEAPON]]"
  • {{User:Jaudark/TestTemplate|SUBCLASS|toon=TOON_NAME|converted=y}}
With the text stating "TOON_NAME has completed both the [[SUBCLASS Epic Timeline|SUBCLASS Epic]] and Epic Repercussions and has received the [[ENERVATED WEAPON]]"

Other than that, save for a few redlinks, I'm loving what you've developed thus far mate! What a great contribution! -- Mysterious drake 04:13, May 7, 2010 (UTC)