Changes

Jump to: navigation, search

Module:Recipes

109 bytes added, 4 months ago
historical recipes can now be differentiated from normal ones
 
local resultCell = function(row, needLink, template)
local result, resultimage, resulttext, amount, historical = row['result'], row['resultimage'], row['resulttext'], row['amount'], row['historical']
local str = ''
local args = {anchor = resultanchor, nolink = not needLink, class='multi-line'}
if amount ~= '1' then
str = str .. ' <span class="note-text">('..amount..')</span>'
end
if historical then
str = str .. ' ' .. l10n('historical_recipe_note')
end
if template then
2,184

edits