Template talk:Back item infobox

From Guild Wars 2 Wiki
Jump to navigationJump to search

uslot[edit]

I probably need to figure out how to add the +5 Agony Resistance bit that is so prevalent. -Chieftain AlexUser Chieftain Alex sig.png 23:56, 13 April 2014 (UTC)

That's actually old data, it's been converted from an infix attribute to a second infusion slot with a +5 Agony Infusion. (This slot is in addition to the offensive/defensive slot they already had.) It would probably be a good idea to display that by default for (Infused) items, and then translate that back to {{trinket infobox}} for (Infused) rings. —Dr Ishmael User Dr ishmael Diablo the chicken.png 00:18, 14 April 2014 (UTC)
Hmm. So it should be like so?
:{{{prefix attributes}}}
:{{{islot}}} (* see below)
:{{{uslot}}} (unused defensive slot etc, dependent on type)
(*) a new parameter where the value is "+5" - not got any way of telling if an item is (infused) based on infobox at the moment other than the naming scheme of the page, and we can't depend on ANet/ourselves to keep it the same in the future. Might as well make the parameter specifying the infusion status be the agony resistance value. -Chieftain AlexUser Chieftain Alex sig.png 21:29, 14 April 2014 (UTC)
Actually, I've done more digging in the API data (I don't own any infused items myself). What happened is that all existing items from before that change were converted to contain a +5 Agony Infusion, but all new items created since then don't come with an agony infusion at all. So we need to "fix" all of the infused ring/back pages that still show +5 Agony Resistance - that needs to be removed, and they need to show an empty Agony Infusion slot (in addition to their standard offensive/defensive infusion slot, of course). Here's a screenshot of an infused ring's tooltip, for reference. —Dr Ishmael User Dr ishmael Diablo the chicken.png 22:16, 14 April 2014 (UTC)
"{{{aslot}}}" then I guess. -Chieftain AlexUser Chieftain Alex sig.png 22:25, 14 April 2014 (UTC)
The image you linked seems to have a different icon for "unused agony infusion slot" to the ones that we have on the wiki, could you get it for us? Also, I've been meaning to ask for a while, but could you update the gw2_api_data.xlsm file? (I can see the data connections link to "... scripts\GW2API\colors.csv" etc, but evidently I don't have the files/knowledge to figure out how to update them myself. (only asking because I thought I'd go lookup the id of the new version of the (infused) items, to find I don't have that bit of data.) -Chieftain AlexUser Chieftain Alex sig.png 23:35, 14 April 2014 (UTC)
It's the same as the defensive slot icon.
I've been working on something better, actually - loading the data directly to a MySQL database, where you can use the POWER OF SQL instead of Excel's sometimes-clunky filtering. I've got it all ready locally, just need to decide where/how to host it for other people to use. I should be able to export a CSV datafile for you to use right now, though. —Dr Ishmael User Dr ishmael Diablo the chicken.png 23:46, 14 April 2014 (UTC)

(Reset indent) I've now converted the back items to use this template. I've identified a few pages that are a bit more complicated that the usual ones -I added another option for uslot but it looks stupid.

-Chieftain AlexUser Chieftain Alex sig.png 14:23, 15 April 2014 (UTC)

What's the issue with the spinal blade packs?
The capacitors are actually 8 different items for the combinations of 4 prefixes and 2 slot types. I assume we don't want to make that many pages for all of them, so I guess your solution works well enough. —Dr Ishmael User Dr ishmael Diablo the chicken.png 15:23, 15 April 2014 (UTC)
mainly that I was sure that there was an infused one among them, when there is not. >< -Chieftain AlexUser Chieftain Alex sig.png 15:50, 15 April 2014 (UTC)

Add parameters for the crafting discipline(s) required level to use in a recipe[edit]

With the new craftable backpacks that are used as a part of a recipe, the info box is lacking information. Should we add the same parameters Crafting infobox template has (armorsmith, artificer, chef, huntsman, jeweler, leatherworker, tailor, and weaponsmith) or does someone have a better idea? Berizelt (talk) 07:11, 10 September 2014 (UTC)

Is it really necessary? The recipes are clearly laid out on the page already. —Dr Ishmael User Dr ishmael Diablo the chicken.png 11:59, 10 September 2014 (UTC)

"skin id" parameter[edit]

The documentation says this template takes a skin id parameter, but it doesn't. The skin ID is retrieved from the page specified by the skin parameter instead: | skin id = {{#if: {{{skin|}}} | {{#show:{{#var:skinName}}|?Has game id#|limit=1|default=}} }}.

Should I fix the template to match the documentation, or should I fix the documentation to match the template? (I guess fixing the docs makes more sense, since we want pages for each skin anyway, but I wonder if there are any pages out there trying to use skin id. Not sure how to go about getting a list of them easily without editing the template temporarily.) -- Dagger (talk) 20:13, 2 December 2015 (UTC)

The skin id parameter is part of {{default item parameter}} and documented there, it's not part of this template. I don't know why Alex did so because only certain types of items can be skins. I guess it made generating the chat links simpler. You can check pages with Form:Parameter check :)--Relyk ~ talk < 22:07, 2 December 2015 (UTC)
Ah. I see. The documentation from {{Default item parameter/documentation}} is included on this page, and this template passes most but not all of those parameters through. That's confusing. I'm going to change that to a link to {{Default item parameter}}.
(That's a handy form. I went to bookmark it, and it turns out I already had it bookmarked, so I must have thought it was useful the last time I was told about it too...) -- Dagger (talk) 22:27, 2 December 2015 (UTC)
There. I stuck {{Default item parameter}} at the top because it felt kinda weird at the bottom; as if it wasn't very important even though its parameters are some of the more important ones to specify. -- Dagger (talk) 23:31, 2 December 2015 (UTC)
Basically not all chat links work ingame, so I added skin links to certain infoboxes; i.e. Armor infobox, Weapon infobox, Back item infobox and Skin infobox. Since I wanted to display the skin link between the item link and the external links it needed a parameter in the default item parameter template. The infobox templates hence specify the skin id parameter themselves using a lookup based on the skin parameter (so we use data that we already had), but don't actually allow the skin id to be specified on the infobox invocations. It is kinda irrelevant in terms of a parameter that gets transcluded. -Chieftain AlexUser Chieftain Alex sig.png 23:56, 2 December 2015 (UTC)

Hint parameter[edit]

Please implement the hint parameter for e.g. Banners of King Palawa Joko I. —Kvothe (talk) 17:39, 10 July 2020 (UTC)

Done. --Tolkyria (talk) 17:54, 10 July 2020 (UTC)
Thank you. —Kvothe (talk) 19:27, 10 July 2020 (UTC)