Template talk:Augment

Categories
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 (Contributions • Message) 05:17, July 3, 2013 (EDT)

New categories:
 * Category:Items with red augment slot
 * Category:Items with blue augment slot
 * Category:Items with green augment slot
 * Category:Items with yellow augment slot
 * Category:Items with orange augment slot
 * Category:Items with purple augment slot
 * Category:Items with colorless augment slot


 * To wordy. Keep it simple < > 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 (Contributions • Message) 13:58, July 3, 2013 (EDT)

Older discussions
Based on this quote and some of the Lama items I have seen listed on the Update 17 named items list, I think that the new replacement template should allow for three arguments to be passed in:
 * Slot color
 * Item ML
 * Pre-slotted effect (if any)

I think that we should require the input to the template to be  This of course is just the starting point of a revamp on this.

Also, unless you cleanse your item for the new system, it can keep your existing effects. How do we compensate for this? Do we create a history page for each of these items, or a "god" history page for all epic items before U17 with what slots they had and what use to be able to go in them since I'm sure people will be running around with "outdated" versions for quite some time. --Tech

Augment Gems have a ML, slots do not.

Old epics they are btc so out of circulation move old enhancements/ slots to note sections update page with new enhancements/slots. Old non epic, tag history move to <> (history) or (retired) or (old)

Replace C: "Epic items with an empty augment slot " its to long with " Empty <> augment slot ". lose the wording "Items with an". if Slotted : C: Slotted/Filled <> augment slot OR for time and simplicity C: <> augment slot

Lose the Color Background to distracting and to many colors can be hard to read, bg color w/ highlight w/ link color

Replace current "<> Augment Slot" with " Empty <> Augment Slot " {Augment|Green} = display as Empty Green Augment Slot

if slotted {Augment|color=|slotted=} - {Augment|Green|Sapphire of Resistance +7}              = display as Green Augment Slot - Sapphire of Resistance +7 with  Green Augment Slot as one link and Sapphire of Resistance +7 as a separate link pointing to a General list augment page?? or no link.

Description (as shown on items):

Empty Colorless Augment Slot: This item has a Red Augment Slot. It can be combined with a Colorless Augment.

Empty Red Augment Slot: This item has a Red Augment Slot. It can be combined with a Red Augment.

Empty Blue Augment Slot: This item has a Blue Augment Slot. It can be combined with a Blue Augment.

Empty Yellow Augment Slot: This item has a Yellow Augment Slot. It can be combined with a Yellow Augment.

Empty Purple Augment Slot: This item has a Purple Augment Slot. It can be combined with a Red or Yellow Augment.

Empty Orange Augment Slot: This item has a Orange Augment Slot. It can be combined with a Red or Blue Augment.

Empty Green Augment Slot: This item has a Green Augment Slot. It can be combined with a Blue or Yellow Augment.

--Bladedge (Contributions • Message) 15:05, February 2, 2013 (EST)


 * Had a little discussion with Bladedge about it on our as follows:

ShoeMaker (Contributions • ) 18:00, February 2, 2013 (EST)
 * 16:50:15	Bladegde		got two chats going
 * 16:50:20	ShoeMaker	I was thinking because obviously they have a color, there are 7 level tiers (0,4,8,12,16,20,24) and including every possibility for every level seems redundant especially when you can't put an augment into a slot if the item doesn't match the min requirements.
 * 16:50:51	ShoeMaker	As far as slotted= goes, that was going to just be a linked instance of whatever was in the slot by default.
 * 16:51:40	Bladegde		level= is really not needed, slots dont have a minmim level
 * 16:54:07	ShoeMaker	the augments that go in them do.
 * 16:55:09	ShoeMaker	You can't put a +4 stat augment into an item that is ML:9. The item would have to be at least ML:12.
 * 16:55:31	Bladegde		yes you can
 * 16:55:53	Bladegde		the augment raises the min lv of the item to the augments lv
 * 16:56:21	Bladegde		u can take a lv 2 item and make it 24 with a augment
 * 16:56:48	ShoeMaker	That wasn't my understanding based on the post by Tolero...
 * 16:57:56	Bladegde		Slotting any augment also increases the slotted item’s minimum level to the level of the slotted augment for as long as that augment is slotted, unless the item’s minimum level is already equal or higher.
 * 16:58:48	ShoeMaker	I see that now...
 * 16:59:05	ShoeMaker	That is going to be a real pain...
 * 16:59:27	ShoeMaker	The list of things that can go in the slot is going to be four pages long as a popup....
 * 17:02:26	Bladegde		forget the popups
 * 17:02:57	Bladegde		gonna go predator on your pop ups
 * 17:04:03	ShoeMaker	That was the whole point of the template, to be able to mouseover and see what can be put on the item...
 * 17:08:24	Bladegde		ment in other areas, and probly augment slots to 4 pages way to much maybe pop ups for name augments like Globe of blood
 * 17:08:56	ShoeMaker	*sigh* Maybe I can implement some of the hidden section popups similar to User:Peerless
 * 17:10:08	ShoeMaker	Where it will have a popup with all of the information condensed except for = level for the item by default and moving the mouse around inside the popup can show what they can put on if they want to increase the item's min level...
 * 17:10:58	ShoeMaker	User:Elliottcable/top specifically...
 * 17:12:48	Bladegde		wont that pop up be big...let me see what yoko did
 * 17:12:58	ShoeMaker	To get an image of exactly what I am thinking, copy and paste the top section from first to it's closing 4 or 5 times. Hit show preview and scroll your mouse above.
 * 17:18:18	Bladegde		have to see your version dont want the pop to be to big would be hard to see on small screens and non desktops
 * 17:25:54	ShoeMaker	Working on a workup right now...
 * 17:33:53	ShoeMaker	Template:Augment/sandbox
 * 17:34:31	ShoeMaker	That is just a brief mock-up of the inside of the popup... I still need to put it inside a popup and set the default....
 * 17:36:16	Bladedge		you going to fit all this Augment_Slot + more into a pop up?
 * 17:36:59	Bladedge		well that link didnt come out as expected
 * 17:37:30	ShoeMaker	There... just put it in a popup...
 * 17:37:53	ShoeMaker	Template:Augment/sandbox
 * 17:38:07	ShoeMaker	^^ Check it again (or [shift]-[F5] to reload)
 * 17:38:26	ShoeMaker	At least that is my basic idea...
 * 17:38:45	ShoeMaker	Of course I'll have to play with it and format it better, and there is a LOT of information to put in there.
 * 17:40:15	Bladedge		u seen the posted augment list, right?
 * 17:40:29	ShoeMaker	Yes.
 * 17:40:50	ShoeMaker	A lot of them can be condensed a lot (see example)
 * 17:41:23	ShoeMaker	Colorless is simply +1-7 Ability stat, +1 exceptional, or +2 insightful....
 * 17:41:29	ShoeMaker	Shortens the list greatly...
 * 17:41:58	ShoeMaker	Seems that All spell powers are listed in each one, so it is +## Spell Power of your choice...
 * 17:42:01	Bladedge		what that list is, is nothing compreaed to what hasnt been relese
 * 17:42:33	ShoeMaker	I'm aware there are some still unreleased... The hard part will be getting people to post evidence of the unlisted ones on the talk page.


 * That is fine by me for now... It's better than the inaccurate data that is there until I can make my megasuperfreaktasticular version...

ShoeMaker (Contributions • ) 08:56, March 1, 2013 (EST)


 * }

Time for another poke at a revamp.
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)
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, &rArr; DDOstream (Contribs • Message • Email ) 10:44, August 22, 2018 (EDT)
 * ✅ &#x1f45f;&thinsp;ShoeMaker (Contribs&thinsp;•&thinsp;Message&thinsp;•&thinsp;Email )&thinsp;&#x1f45f; 10:58, August 22, 2018 (EDT)
 * Thanks! That looks great!  I'm looking at the result on  and am noticing it could be refined slightly based on the picdesc image.  Updated requested source in the /sandbox.  Thanks! &rArr; DDOstream (Contribs • Message • Email ) 11:31, August 22, 2018 (EDT)
 * ✅ &rArr; DDOstream (Contribs • Message • Email ) 11:34, August 22, 2018 (EDT)

Update 48 text changes
Hi all. I've sandboxed this template at Template:Augment/sandbox2 to implement some text modifications that came with Update 48. Stuff like 'Empty Augment Slot' is now displayed as ' 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. &rArr; MrLizard (Contribs • Message • Email ) 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. &rArr; MrLizard (Contribs • Message • Email ) 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. &rArr; PurpleSerpent (Contribs • Message • Email ) 06:55, January 26, 2022 (EST)
 * Oh, it's automatic! I see. &rArr; PurpleSerpent (Contribs • Message • Email ) 07:55, January 26, 2022 (EST)

Size of template
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. &rArr; Faltout (Contribs • Message • Email ) 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.) &rArr; PurpleSerpent (Contribs • Message • Email ) 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. &rArr; PurpleSerpent (Contribs • Message • Email ) 07:02, February 2, 2022 (EST)


 * Right, that's worked. Did you remove the template for any other pages? &rArr; PurpleSerpent (Contribs • Message • Email ) 07:05, February 2, 2022 (EST)


 * A Break In the Ice also had problems. It's now at the limit of its size, though. &rArr; Faltout (Contribs • Message • Email ) 12:53, 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. &rArr; PurpleSerpent (Contribs • Message • Email ) 15:25, February 2, 2022 (EST)

&rArr; Corgrind (Contribs • Message • Email ) 13:48, February 3, 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


 * 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. &rArr; PurpleSerpent (Contribs • Message • Email ) 14:02, February 3, 2022 (EST)