Guild Wars 2 Wiki talk:Semantic MediaWiki/Recipes

From Guild Wars 2 Wiki
Jump to navigationJump to search

Ingredients doesn't need to be a subobject. I have more comments on this; unfortunately, I just caught it as I was heading to bed, so it'll have to wait. —Dr Ishmael User Dr ishmael Diablo the chicken.png 05:01, 1 June 2013 (UTC)

I can wait. Just wanted to write something up.--Relyk ~ talk < 05:40, 1 June 2013 (UTC)
User:Dr ishmael/Template:Recipe
  • Has recipe id - no change.
  • Has canonical name - no change.
  • Learned from - renamed to Has recipe source."Learned from::automatic" doesn't sound proper. I'm not entirely happy with my name, though, so I'm willing to change for something even better.
  • Has recipe sheet - renamed to Learned from recipe sheet. The association is sheet->recipe, so in the strictest sense, this property shouldn't even be here: the recipe sheet should have the property Teaches recipe pointing to the recipe. But, since we don't document recipes on their own pages (and we shouldn't), we need to name the property so it describes the relationship appropriately.
  • Has recipe type - expanded definition to cover non-Forge recipe types.
  • Has recipe quantity - renamed to Has output quantity, I think "output" lends more clarity to the property's purpose.
  • Has discipline - renamed to Requires discipline. On both this and the next, I think "requires" conveys the relationship better.
  • Has recipe level - renamed to Requires rating. Need to avoid "level" so there's no confusion with character level; "rating" is the term used in-game on recipe tooltips anyway.
  • Has ingredients - removed 's'.
Let's keep the discussion here to the semantics of the template; I'll start a discussion on the non-semantic stuff somewhere else. —Dr Ishmael User Dr ishmael Diablo the chicken.png 21:40, 2 June 2013 (UTC)
I see the API has "AutoLearned", "LearnedFromitem" flags with a "Discovered", we may not do better than Has recipe source. I can't think of anything else. You're right about the sheets. I used quantity because it was used in the item API and templates, "output" matches the recipe API so I like it. I was using Requires for both of those properties but wasn't sure if it was right. Agree with using rating. Sounds all good to me.--Relyk ~ talk < 00:11, 3 June 2013 (UTC)