Editing Module:Item Usage
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 127: | Line 127: | ||
end | end | ||
-- Multiple kitchenware: | -- Multiple kitchenware, in case you later use: | ||
-- |kitchenware_1 = | -- |kitchenware_1 = | ||
-- |kitchenware_2 = | -- |kitchenware_2 = | ||
| Line 406: | Line 406: | ||
tr:tag('th'):wikitext('Item') | tr:tag('th'):wikitext('Item') | ||
tr:tag('th'):wikitext('Craft Type') | tr:tag('th'):wikitext('Craft Type') | ||
tr:tag('th'):wikitext(craftType == 'Furnishing Set' and 'Components' or 'Recipe') | |||
if showKitchenware then | if showKitchenware then | ||
tr:tag('th'):wikitext('Kitchenware') | tr:tag('th'):wikitext('Kitchenware') | ||
end | end | ||
for page, recipes in lib.spairs(valids) do | for page, recipes in lib.spairs(valids) do | ||
| Line 451: | Line 450: | ||
:css{['text-align'] = 'center'} | :css{['text-align'] = 'center'} | ||
:wikitext('[[', recipe[Rlib.sTypeArg], ']]') | :wikitext('[[', recipe[Rlib.sTypeArg], ']]') | ||
local ingredients = renderRecipeIngredients(recipe) | |||
tr:tag('td'):wikitext(table.concat(ingredients, '<br>')) | |||
if showKitchenware then | if showKitchenware then | ||
| Line 460: | Line 463: | ||
end | end | ||
end | end | ||
end | end | ||
end | end | ||