Guild Wars 2 Wiki talk:Semantic MediaWiki/Items
Rune/Sigils/etc. derived properties[edit]
This has been popping up with the rune template, it would be convenient to set a prefix and suffix property for runes, sigils, and some other upgrade components. Then we don't have to use string functions to grab the parts we want in all the templates. They are derived so they wouldn't be very useful properties.--Relyk ~ talk < 21:06, 27 May 2013 (UTC)
- Upgrade components are all suffixes, prefixes are inherent to the base item. —Dr Ishmael 21:35, 27 May 2013 (UTC)
- That's not a prefix, that's a tier. Rather, I should say that I prefer we call it a tier, instead of something generic like prefix. —Dr Ishmael 21:54, 27 May 2013 (UTC)
- Where exactly would we use this new property? i) Category sort keys ii) Rune/sigil navs iii) Rune table. is that it? (we'd need the base part of the rune/sigil (e.g. Of Elemental Slaying) to do anything useful with it. -Chieftain Alex 22:49, 27 May 2013 (UTC)
- Tier and suffix would both be new properties. Honestly, though, I'm not certain that it would be any more efficient than just using string functions where needed. The StringFunctions extension basically exposes native PHP functions to the wiki, so there's very little code involved there. Semantic queries, on the other hand, have to be parsed, built, and executed, and the result also has to be parsed into what we need. For simple things like this, where the data in question is already part of the item name, there's very little reason to complicate the datastore with tier/suffix properties. —Dr Ishmael 22:59, 27 May 2013 (UTC)
- Almost unrelated, but thoughts on implementing {{rune and sigil nav}} at the bottom of associated pages? -Chieftain Alex 23:03, 27 May 2013 (UTC)
Revisited[edit]
I've made a mockup of a sigil infobox (or at least, what would be needed), and I'm wondering what we'll call the sigil property with the, for example on Minor Sigil of Accuracy, "+1% Critical Camage" fact. "?Has sigil description" ? -Chieftain Alex 16:01, 19 June 2013 (UTC)
- In the API [1]:
"upgrade_component": { "infix_upgrade": { "buff": { "skill_id":"9323" "description":"+1% Critical Chance" }, "attributes":[] }, "suffix":"of Accuracy" }
- It's actually an invisible skill/effect placed on the character when you equip the weapon. I think "Has sigil description" would work fine, though. —Dr Ishmael 16:10, 19 June 2013 (UTC)
Trinkets[edit]
There is currently no Trinkets page, but there is a link to it. Was this considered and rejected? If not, is it OK if I start working on it? I don't want to duplicate someone else's effort. Thanks Tsafran (talk) 21:13, 26 September 2014 (UTC)