Board Thread:Support Requests - Getting Technical/@comment-24503385-20140815133425

Over on the Darkwood Wiki we are trying to create a unified infobox template called Itembox for all the game items, one that can be used on all the item pages and for all types of items (craftable and uncraftable). We are currently stuck, however, with coding the more difficult behavioral parts of the template that requires advanced wiki markup.

In particular, the crafting section of the template leaves us clueless as to how it should be properly coded. It is the first and most important item on the template's list of issues (see also below) that needs to be solved. We presume that more advanced  or   markup skills are required for addressing this.

It would be very helpful if we were given pointers as to how we could tackle these template issues. Referring us to resourceful support articles on our coding issue would also be of help to us.

Attached to this post below is a detailed list of current issues with the template.

Many thanks!


 * Current template issues in detail


 * The Crafting section requires advanced wiki markup to work as intended. The following are current issues that need to be solved before this template can be used.
 * The required crafting materials for an item should appear together in one cell and on one line (probably separated by commas). Currently, each crafting material has its own individual cell which takes up a lot of space and doesn't look good. To properly code this, more advanced  or   markup skills are required.
 * If the item at hand cannot be crafted (all crafting materials have an unknown value), the entire crafting component should show only "Cannot be crafted." To properly code this, more advanced  or   markup skills are required.
 * If the item at hand can be crafted, the Recipe component shall be displayed under the required crafting materials (if possible in the same cell) with the note "No recipe required" or "X required" . If the item at hand cannot be crafted, the Recipe component shall not show at all.


 * If a new component for the maximum number of stacks of an item is meant to appear in the template, then it needs to be properly coded. The following are issues that need to be solved for this to work.
 * The "Max. stack" component should appear under Availability in a two-column style to save space. This probably requires the entire template to be a two-column table.
 * If the item is not stackable ( or  ), the entire stack component shall not be displayed. 