Year of the Dragon: Through June 26th, claim free Ground Bound Green Dragon Mount! Speak to Xatheral in the Hall of Heroes.
(April's reward of a free expansion or Greater Elixir of Discovery can still be claimed from Trilliya until June 4th.) edit
Game mechanics • Newbie guide • In development • DDO Store • Social Media
Challenges • Classes • Collectables • Crafting • Enhancements • Epic Destinies • Favor • Feats
Glossary • Items • Maps • Monsters • Places • Quests • Races • Reincarnation • Skills • Spells
Please create an account or log in to remove ads, 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
<css>
.clrAll { clear: both; } .tab { position: relative; float: left; width: 100px; margin-left: 0px; margin-right: 4px; border: solid 1px #173654; border-bottom: none; text-align: center; height: 30px; vertical-align: text-bottom; border-top-left-radius: 10px; border-top-right-radius: 10px; padding-top: 5px; box-shadow: 2px 2px 2px #0C1C2C;
background-color: #A3B1BF;
} .tab:hover { background-color: #FFFFFF; } .tabActive { background-color: #CEE0F2; } .tabBody { border: solid 1px #173654; padding: 5px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; background-color: #CEE0F2; width: 100%; position: relative; } .tabBody .toc {
float: right; margin: 5px;
} .tab span { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 1; }
</css>
code, pre {
background-color: transparent !important;
} </css>
2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 |
Jan - Mar | Apr - June | July - Sept | Oct - Dec |
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 (Contributions • Message) 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 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 • ⇑ top ⇑) 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 {{Tl|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 • ⇑ top ⇑) 00:56, March 14, 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 {{Tl|JJMC89/Elemental Resistance}} to see if any changes need to be made. If nothing needs changed, how should I go about changing
- To answer the question you left on my talk page and then deleted when you added the
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 (Contributions • Message) 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 (Contributions • Message) 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)