FANDOM



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 (redlinks fixed via addition to the wiki), I'm loving what you've developed thus far mate! What a great contribution! -- Mysterious drake 04:13, May 7, 2010 (UTC)

  • I don't quite see the nuance your pointing out, can you elaborate as for where you see that code? or maybe you could take the existing template and do a comparaison of the modifications
    Yes, i copy and paste the existing template so i can replace it with the code i modified.
    Also, what is the nowiki tag actually doing? --Jaudark 07:54, May 7, 2010 (UTC)
The nowiki tag only prevents text from being considered as wiki code (so that you can post examples of wiki code without the browser and software converting it).--Kodia 10:26, May 7, 2010 (UTC)
The nuance was just a minor wording change, you don't need to say "and have completed THE Epic Repercussions", it's simpler (and saves space for the userbox) to just say the user "has completed both the subclass epic and epic repercussions" - that's all I was getting at. Or, it could be simplified further (as follows), so the user might choose to display that they claimed the Fabled version, defeated the raid monsters required to claim the mythical version AND converted the weapon to its Enervated version (all three if they wanted - just a thought...):
  • "I (or Toon_Name) have/has [[Epic Conversion timeline|converted]] my/their [[SUBCLASS Epic Weapon Timeline|Subclass Epic]] into the [[Enervated Weapon]]."
As for nowiki.... The "nowiki" tag tells the wiki's code-handler to ignore whatever is between the opening and closing tags and show the content exactly as you add it to the page. That way you can refernce a line of code (or a specific template or link, etc) without actually calling it into use. In example, you might ask if a certain item drops from Garanel in Unrest by putting the < nowiki > tag around the "DroppedItem" template call thusly:
  • Is {{DroppedItem|Garanel Rucksif, the Cursed||The Estate of Unrest|Exquisite}} the right usage?
Or you could use nowiki in order to demonstrate the right way to type a link on a documentation page:
  • To use this template, simply add the code {{TemplateName|parameter1=|parameter2=}}
Hope that helps clear up what you asked about! -- Mysterious drake 10:37, May 7, 2010 (UTC)

It should be done now, i put Mysterious drake's suggestion too and my Test zone should have a complete list of every classes. Feel free to change every one of them to see the effect of different combination per classes. And if the admins are okay with it, I will change the current template with this one, as the current one is unprotected. Thanks everyone for your help and ideas, it made my work much easier. Was good to see the (obligatory) programmation courses I took weren't for nothing.--Jaudark 20:06, May 7, 2010 (UTC)


I'm loving it, and your new test zone page just gave me another lightbulb moment. I pretty certainthat templates can call back and forth to each other, but I'm wondering if someone can give me a quick rundown of how... I'm curious to know if there is existing coding (or if not, I'm curious to try and create it) so that when the template calls for a specific toon's name, it will check for that toon's {{CharacterInformation|}} (if it exists) and will the parse through the toon's gender from that template to the Epic Conversion template.
  • For the example with "John," a male Berserker: instead of "John has converted their Berserker Epic into the Enervated Dragon's Temper," the Test Zone template would search for "John's" CharacterInformation gender result and then based on that data output "John has converted his Berserker Epic into the Enervated Dragon's Temper." (And of course: for female toons, a switch for "her;" and for toons lacking a CharacterInformation template, a default of "their.")
Or would this all be too ambitious? I sure hope not, cuz I'm bitten by the bug of creativity this morning. -- Mysterious drake 12:08, May 8, 2010 (UTC)
if i understand right, you'd like templates to 'parse' articles' template parameters and do something based on the findings. as far as i know it is not possible otherwise that would open up a whole lot of possibilities, like stat based item search, for example. --Vraeth 12:56, May 8, 2010 (UTC)
Such a thing is possible using specialized wiki extensions, but we don't have them available here and doing it for character information wouldn't be something I would want to do anyway (after all, the goal here is information on the game, not personalized space to talk about player characters). In any case, the system I'm talking about would be a huge paradigm shift and would not be something to take lightly... it's also something I don't really see us as needing, since there isn't a great need for cross-talk between pages. --lordebon 14:41, May 8, 2010 (UTC)
No, I'm just talking about a template making use of another template... Like how the {{Loc}} template inherently calls and uses the {{Push2CB}} template for the copy-to-clipboard function. I'm not talking about this concept as a social/personalized use function, just something to enter a possessive gender-specific pronoun (a la "%P" as used in-game). But, I'm guessing from the two of your resposnes, it's too complicated and seems to be judged unnecessary.... -- Mysterious drake 15:10, May 8, 2010 (UTC)
As i put in the discussion page of that User Subclass Epic template, we could just add a tag a la "female=y" to do a distinction between male/female (default would be male/his) based on what the person modifying their userbox wants. --Jaudark 15:56, May 8, 2010 (UTC)

Oh... so are you saying have the PlayerInformation template call the SubclassEpic template? That would be doable, since information can easily flow in that direction, but most folks' userboxes are in a separate area from that template, so that would involve sacrificing that separation in order to get a pronoun (that can easily be coded in if you really want it). It's going the other way (trying to use the SubclassEpic template to 'call' the existing player information template) that isn't possible. --lordebon 15:24, May 8, 2010 (UTC)

Well, I don't know if it's possible, or what the best / easiest way to go about it was. I just had the idea of "What if the subclass epic template could automatically distinguish toon gender if a toon-name is specified?" I asked cuz I'm slowly trying to wrap my head around parser strings and expressions and I don't have a good picture of what is or isn't possible yet. However, I'm betting (hands down) it would be easier to do as Jaudark suggested above and code in a default of male pronouns and let the user specify for female toons. Leave it to a noob to come up with a great idea and a horribly complex way of trying to implement it! LOL -- Mysterious drake 16:25, May 8, 2010 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.