Template talk:NPC training row
Template update to include recipe?
I'm not sure how updating templates usually works, but I've taken a stab at updating the NPC_training_row template.
- The problem I saw was that I couldn't figure out how to list both an ability and a recipe on a single row easily using the template. This occurs currently in game at least for the Spore Bomb set up skills, where an ability and a recipe are gained at the same time for a single cost.
- I also didn't find a good example of including recipes in the training rows example. I could add them as inventory/items (Vendor item template) but that resulted in misalignment compared to ability rows (3 columns vs 4 columns respectively). Using the vendor template is also slightly misleading as these recipes don't, to my knowledge, have a physical recipe item available in game.
- Solution:
- I updated the template (found at Template:NPC_training_row/sandbox) to accept and test for a recipe parameter (in addition to ability, skill level, cost, and favor). If an ability or recipe parameter is provided, the template will display them matching existing formatting that I could find. i.e. Abilities include a link to the ability and display the ability icon at 32px, and recipes include the Recipe: prefix, but does not currently link to an addition page, because most recipes don't have individual pages available.
- Potential issues?
- I don't even know what I don't know in this case. Given my limited experience thus far, I don't see anything breaking with this implementation.