User talk:JJMC89/2014/1

Template:Elemental Resistance

 * You get those errors when you have parser functions depending on an argument that you haven't set a default for. So, if someone uses JJMC89/Elemental Resistance and doesn't fill in what 1 and 2 are suppose to be, they will get an error:
 * and if they only fill in 1=, they will get:
 * and if they only fill in 2= they will get:
 * and what this tells me is that someplace you have an expression that is compared against the value of 2= (probably a #switch: based on your code) and there is no default for when  is empty... you could probably fix it with something like   or   if it is suppose to be a number... ShoeMaker (Contributions • Message) 17:09, March 6, 2014 (EST)
 * and if they only fill in 2= they will get:
 * and what this tells me is that someplace you have an expression that is compared against the value of 2= (probably a #switch: based on your code) and there is no default for when  is empty... you could probably fix it with something like   or   if it is suppose to be a number... ShoeMaker (Contributions • Message) 17:09, March 6, 2014 (EST)
 * and what this tells me is that someplace you have an expression that is compared against the value of 2= (probably a #switch: based on your code) and there is no default for when  is empty... you could probably fix it with something like   or   if it is suppose to be a number... ShoeMaker (Contributions • Message) 17:09, March 6, 2014 (EST)


 * To answer the question you left on my talk page and then deleted when you added the Ppoi to come here, they should link to the individual elements, then all in one page should be split up and merged appropriately with the sub-pages and then simply transclude them. ShoeMaker (Contributions • Message) 10:11, March 13, 2014 (EDT)
 * I will link to the individual pages. For electric should it be Lightning Resistance or should that page be moved to Electric Resistance since new items use Electric instead of Lightning? Elemental Resistance is the combined page. I am not familiar with transclusion other than with how it is done in a Template. Should the same method be used in this case or should Labeled Section Transclusion be used? -- Zav (Contributions • &uArr; top &uArr;) 12:34, March 13, 2014 (EDT)
 * I've not been in game enough to know recently if it should be "lightning" or "electric" and personally think that either would be fine with a redirect from the other (we can always swap them later if needed). As far as understanding transclusion goes, if you're going to be a "technical" type template editor, you should read up on it (it's part one of the tutorial I was building on enwp for how to write templates).  Valuable resources include: m:Transclusion and w:Wikipedia:Transclusion.  mw:Help:Transclusion also exists (and you would think would have the most information on it), but it only says, "Transclusion is a general MediaWiki term for including things into a page using double-brace " – " markup. This can be things like templates, pages in other namespaces, words magic words, output of function parser functions, some pages Special pages, interwiki pages, and more." . ShoeMaker (Contributions • Message) 13:21, March 13, 2014 (EDT)
 * I have redirected Lightning Resistance to Electric Resistance and made all of the single elemental resists follow the same format. Parts of Acid, Cold, Electric, and Fire have been transcluded into Elemental Resistance. Testing has been done here. (The errors are intentional.) Please look over JJMC89/Elemental Resistance to see if any changes need to be made. If nothing needs changed, how should I go about changing Elemental Resistance? Copy/paste or delete/move? -- Zav (Contributions • &uArr; top &uArr;) 00:56, March 14, 2014 (EDT)

Template:Absorption

 * Not sure what was broken in the old template so not sure how this one is better. I guess it's more readable and errors are nicer. --Cru121 (Contributions • Message) 09:11, March 13, 2014 (EDT)
 * There was a need to define elemental with and without sonic. Older items like do not include sonic but  does include it. I thought I would fix readability and add errors while I was at it. I also made it impossible to have more recharges than charges. -- Zav (Contributions • &uArr; top &uArr;) 12:34, March 13, 2014 (EDT)