Guild Wars 2 Wiki talk:Semantic MediaWiki/Items

From Guild Wars 2 Wiki
Jump to navigationJump to search

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 User Dr ishmael Diablo the chicken.png 21:35, 27 May 2013 (UTC)
e.g. [[Has rune prefix::Superior]] :P--Relyk ~ talk < 21:50, 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 User Dr ishmael Diablo the chicken.png 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 AlexUser Chieftain Alex sig.png 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 User Dr ishmael Diablo the chicken.png 22:59, 27 May 2013 (UTC)
Almost unrelated, but thoughts on implementing {{rune and sigil nav}} at the bottom of associated pages? -Chieftain AlexUser Chieftain Alex sig.png 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 AlexUser Chieftain Alex sig.png 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 User Dr ishmael Diablo the chicken.png 16:10, 19 June 2013 (UTC)
Oh it's here too. I don't like description because it overlaps with Has game description.--Relyk ~ talk < 17:06, 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)

go for it--Relyk ~ talk < 21:19, 26 September 2014 (UTC)