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!

Template talk:Augment

From DDO wiki
Jump to navigation Jump to search

Categories[edit]

I've added some categories. Not sure if we were waiting for something before creating them, but I think we need them. I need them :) Names can be changed, obviously. E.g. adding an article to the name (a/an) would be an option. Ideally we could use better categorizing, allowing us to find e.g. blue-slotted bracers and orange-slotted shields, but I am not sure if that's possible with the tools we have now. --Cru121 (ContributionsMessage) 05:17, July 3, 2013 (EDT)

New categories:


To wordy. Keep it simple <<color>> augment slot, that is all that is needed. Item with are a given, what else they going to be on that is not an item. Bladedge (ContributionsMessage) 13:58, July 3, 2013 (EDT)

Older discussions[edit]

Time for another poke at a revamp.[edit]

Hey guys. I'm thinking that this should be revamped to allow multiple augment slots to be listed with one template and in doing so allowing an additional category to be populated. Something like Multiple Augment Items or something so that people that want to make a weapon with a vampire slayer and a ruby of righteousness and a ruby of undead will know where they can find base items for this kind of thing. Just an idea and I think we can make it work with the loops extension. Anyways, I'll see what I can come up with next week. :) ShoeMaker (Contributions Message) 20:20, September 11, 2014 (EDT)

Edit request 10:44, August 22, 2018 (EDT)[edit]

Please updated this template with the source from T:Augment/sandbox (minus the {{Template testcase TOC}} of course) to allow pre-slotting information to be added to the template and more closely represent what is displayed on an item with an empty slot. Thanks, DDOstream (ContribsMessage) 10:44, August 22, 2018 (EDT)

Update 48 text changes[edit]

Mbox.png
A requested edit has been completed!
 
... by: PurpleSerpent (ContribsMessage) on: 11:50, January 25, 2022 (EST)


Hi all. I've sandboxed this template at Template:Augment/sandbox2 to implement some text modifications that came with Update 48. Stuff like 'Empty <color> Augment Slot' is now displayed as '<color> Augment Slot: Empty' in the UI, and the 'Augment' word is still present when an augment has been applied to the slot, like in 'Blue Augment Slot: Sapphire of Good Luck +1' instead of 'Blue Slot - Sapphire of Good Luck +1'. The bonuses listed in the popup text are still outdated. Please have a look at it and update this template if you like. MrLizard (ContribsMessage) 08:40, November 6, 2020 (EST)

  • Now the tooltip in Template:Augment/sandbox2 is updated as well (to U48). Besides replacing the hard-coded named augments by {{Category listing}}, I tried also to despaghetize the code by defining a variable for each color list, so the list codes don't repeat inside {{Popup}}. This is easier to maintain and update in my opinion. MrLizard (ContribsMessage) 00:16, November 25, 2020 (EST)
    • It's a very long tooltip now, isn't it? I'll see to adding the Saltmarsh augments in a minute, but maybe we need a new solution in the long term. Anyway, now completed. PurpleSerpent (ContribsMessage) 06:55, January 26, 2022 (EST)

Size of template[edit]

Because this template is meant to be used in-line and often en masse, the size of the template is causing some quest pages to not display. First of all, the basics: The size is measured in characters but in a weird way. 1 character = 1 character. A sentence of X characters has the size of X characters. However, when a sentence is inside a parser function or a transclusion, then the size doubles because it is counted once for the initial transclusion and once for the current page. If a sentence is inside 2 transclusions, then the size triples X * (depth).

This means that the deeper the bulk of the information is, the bigger the template size. One of the ways to mitigate that is to ensure that deep templates (such as {{Hlist}} which is used for {{Category listing}} which is used from here) need to be as small as possible or not used at all (as can be the case for {{Category listing}} which doesn't need to use {{Hlist}}.

Another area to improve on is the template cache. A template with no parameters is cached and always produces the same value no matter what. If the augment template calls sub-templates with no arguments according to the color parameter, then the size of a page using this template many times would be (the size of the text produced by this template) * (the number of times this template is used) + (the size of the text produced by the sub-templates) * (once). This would be a significant size reduction for pages using this template many times. Faltout (ContribsMessage) 14:21, February 1, 2022 (EST)

  • I'll be honest, I still can't figure this particular template out. I've called MrLizard in - they designed this version of the template so they should know what they're doing better than I do. (My suggested fix would be to remove the named augments and the values of the bonuses for the standard ones.) PurpleSerpent (ContribsMessage) 15:25, February 1, 2022 (EST)
  • OK, I seem to have got something working, at least. I've replaced the category listing for named augments with a link to the category - this has dramatically reduced the template size. I will now test Temple of Elemental Evil Part One to see if that's enough. PurpleSerpent (ContribsMessage) 07:02, February 2, 2022 (EST)
  • Good to know. That should do for now, then - maybe in the long term I can work out how to condense the info for the standard items. PurpleSerpent (ContribsMessage) 15:25, February 2, 2022 (EST)
  • I know I'm repetitive but I still think this Wiki overuses Popup to an annoying rate. And this template creates one top ranking, maybe even place One:
    • for it's size especially blue and yellow. Together with the zero delay for popups you often cannot "leave" the popup through the bottom and have to make a "loop" with the mouse. In item lists hate +1
    • for it's constant being not uptodate in blue and yellow; see my latest change on the augment page for a drop only sapphire
    • for it's general uselessness (in my point of view): There is no sense in selecting augments related to a single item, you need to take into account your whole equipment and there you need another approach than this popup

Corgrind (ContribsMessage) 13:48, February 3, 2022 (EST)

  • As a counterpoint, I think T:Popup is really helpful for condensing information on items so item pages are actually readable without having to navigate to another page when you don't know what something does, and having an Augment popup is really helpful when trying to work out gear selection. Otherwise I have to go and stare at a really long table for twenty minutes and try to ignore all the irritating verify tags. PurpleSerpent (ContribsMessage) 14:02, February 3, 2022 (EST)