View source for Module:Recipes by category table
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
local lib = require('Module:Feature')
local Icon = require('Module:Icon')._main
local Icon_list = require('Module:Icon list')._main
local Parse = require('Module:Parser').getTemplateArgs
local LL = require('Module:Link label')._main
local show_time = false
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame)
if lib.isEmpty(frame.args.pages) then
local result = args.noresult or ''
if result ~= '' then return result
elseif args[1] then
local array = lib.split(string.lower(args[1]), ';')
local link = (args.noresultlink and args.noresultlink) or 'crafting recipe'
if #array == 0 then result = 'No page matches category selection.'
elseif #array == 1 then result = 'No ' .. link .. ' needs ' .. array[1] .. '.'
elseif #array == 2 then result = 'No ' .. link .. ' needs ' .. array[1] .. ' or ' .. array[2] .. '.'
else
000
1:0
Template used on this page:
Return to Module:Recipes by category table.