Year of the Dragon: Through April 23rd, claim the adventure pack Slice of Life for free! Speak to Xatheral in the Hall of Heroes.

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

User talk:JJMC89/2014/1

From DDO wiki
Jump to navigation Jump to search
User page
Talk page
User contributions

Template:Elemental Resistance[edit]

Comments, suggestions, and questions welcome.

  • Define elemental with and without sonic
  • Inherent (Insight) bonus for items like Jeweled Cloak

Zav (Contributions⇑ top ⇑) 23:58, March 4, 2014 (EST)

Few points:
  • Create [[Template:JJMC89/Elemental Resistance]], paste in your content. Add usage and examples. Test.
  • Suggestion: Add exact text for inherent resist. Note that Inherent 5 is competence bonus and Inherent 10 is insight bonus.

Other than that.. another template editor is always welcome, thanks! → --Cru121 (ContributionsMessage) 04:10, March 6, 2014 (EST)

Thanks for the advice.
  • All of the original examples plus my added ones are working now.
  • The only thing I haven't figured out is why the coding section renders as an error.→ Zav (Contributions⇑ top ⇑) 16:43, March 6, 2014 (EST)
  • 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 {{Tl|JJMC89/Elemental Resistance}} and doesn't fill in what 1 and 2 are suppose to be, they will get an error:
  • {{JJMC89/Elemental Resistance}}
and if they only fill in 1=, they will get:
  • {{JJMC89/Elemental Resistance|1}}
and if they only fill in 2= they will get:
  • {{JJMC89/Elemental Resistance|2=2}}
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 {{{2}}} is empty... you could probably fix it with something like {{{2|empty}}} or {{{2|0}}} if it is suppose to be a number... ShoeMaker (Contributions Message) 17:09, March 6, 2014 (EST)
Thanks ShoeMaker.
  • All examples are working, including sample errors.
  • The coding section now renders the correct error.→ Zav (Contributions⇑ top ⇑) 21:09, March 6, 2014 (EST)
Should {{Elemental Resistance|Acid|45}} have [[Acid Resistance]] or [[Elemental Resistance|Acid Resistance]]?
  • After some discussion in IRC chat channel Joenuts and I decided that it should probably be [[Elemental Resistance#Acid Resistance|Acid Resistance]] with the eventual goal of eliminating information duplication by redirecting all individual element resistance pages (Acid Resistance, Cold, Lightning, and Fire) to their respective section of Elemental Resistance.
  • Any comments/suggestions/questions? Zav (Contributions⇑ top ⇑) 19:13, March 11, 2014 (EDT)
  • 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'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)

Template:Absorption[edit]

Comments, suggestions, and questions welcome. Zav (Contributions⇑ top ⇑) 22:26, March 11, 2014 (EDT)

  • 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 (ContributionsMessage) 09:11, March 13, 2014 (EDT)
    • There was a need to define elemental with and without sonic. Older items like Wizard's Ward do not include sonic but Cyran Guard 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⇑ top ⇑) 12:34, March 13, 2014 (EDT)

Tabs[edit]

Hey, nice tabs... :) Ague (ContributionsMessage) 11:37, March 9, 2014 (EDT)

Thanks for the template! I might get around to writing my own template to change the tabs and changing the css for colors and stuff. Zav (Contributions⇑ top ⇑) 14:30, March 9, 2014 (EDT)