Template talk:Prefix selection

From Guild Wars 2 Wiki
Jump to navigationJump to search

I was going to have the parameter strip the 's possessive, but that would require a switch statement similar to prefix attributes to add it when appropriate.--Relyk ~ talk < 01:46, 3 March 2014 (UTC)

The 's is already taken off by {{Prefix attributes}} anyways. Psycho Robot (talk) 01:47, 3 March 2014 (UTC)


Not sure if a problem with this template or something else going on.

See Trackless Boots (level 70), the celestial section isn't showing the attribute values. For the stat level on the linked item, they should all be +12 --BramStoker (talk, contribs) 00:59, 7 January 2015 (UTC)

Fixed. That specific type/level/rarity combination had never been seen with celestial stats before, so we simply didn't know the value. On that topic, do you know of any other non-level-80 items with a celestial prefix? —Dr Ishmael User Dr ishmael Diablo the chicken.png 01:15, 7 January 2015 (UTC)
I checked the level 60 boots and they had celestial as well. +10 to every stat. Level 50 boots didn't have celestial. From the personal story so 4 levels below they actual stat level. Tyndel (talk) 01:45, 7 January 2015 (UTC)
Bazoinga. —Dr Ishmael User Dr ishmael Diablo the chicken.png 04:39, 7 January 2015 (UTC)

Valkyrie not working?[edit]

Doesn't seem to be pulling the stats for Valkyrie. Seylan (talk) 07:51, 15 December 2015 (UTC)

Prefix Stats
At valkyrie Unrecognized prefix
Example page please? -Chieftain AlexUser Chieftain Alex sig.png 11:06, 15 December 2015 (UTC)
Assaulter's Energized Loop - it just seems to be trinkets. Seylan (talk) 11:20, 15 December 2015 (UTC)
Alright, added "at valkyrie" to Template:Prefix attributes. Thanks. -Chieftain AlexUser Chieftain Alex sig.png 11:48, 15 December 2015 (UTC)

New (?) combinations not recognized[edit]

So I'm pulling most of the stats for the new trinkets through from the API, and I get pages such as this where there are stats such as "At berserker's and valkyrie", "At dire and rabid", and "At rabid and apothecary's" (the "At" is added by myself). These stats don't seem to be recognized by this template. Is there another name for them? -Darqam (talk) 16:31, 28 July 2016 (UTC)

Drop the "and" and the "'s". Also we have documentation on this template which links to Template:Prefix attributes#Full parameter list. -Chieftain AlexUser Chieftain Alex sig.png 18:03, 28 July 2016 (UTC)
Oh bugger. Ok I'll go through my edits and fix that. Amusingly though the template doesn't seem to care about _'s_; the example in the documentation even makes use of it. Is it just removed for the sake of cleanliness then? -Darqam (talk) 18:22, 28 July 2016 (UTC)
This has cropped up again on The Wayfarer’s Henge (infused) page. I think we should be using the API or ingame terminology. API documentation can be found here. J.Tesla (talk) 20:54, 21 May 2017 (UTC)

collapsed as default for 10 or more prefixes[edit]

This template bloats pages if there are a lot of prefixes to select from. Suggestion: automatically collapse the list for 10 or more entries. Code that probably will work:

line 4: {{STDT|equip {{#ifeq:{{{collapsed| {{#ifeq:{{{10|x}}}|{{{10|}}}| expandable | n}} }}}|n|collapsible|expandable}}}}

Nefastu (talk) 03:47, 26 November 2016 (UTC)

Right, this template only uses one parameter. I've found a solution to my problem and have gone ahead and changed the template by modifying the default value for the {{{collapsed}}} parameter from n to {{#ifeq:{{#explode:{{{1|Example}}}|,|9}}||n|y}}. Hopefully I didn't miss any cases in which this change would break stuff. —Nefastu (talk) 22:39, 27 November 2016 (UTC)

Table does not collapse[edit]

Looks like there's a mechanism for collapsing, but it's not working. See Inquest Apparatus, or any other trinket from Season 3/4. I've tried doing so on this template page itself, the collapsed parameter doesn't seem to work, nor does the automatic collapse when more than 9. Vahkris (talk) 17:16, 8 March 2018 (UTC)