Module:Sandbox/Skills/Cartography: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 291: Line 291:
function p.hex(frame)
function p.hex(frame)
-- Default behavior, when no coords supplied
-- Default behavior, when no coords supplied
if (frame == nil or #frame.args == 0) then
if (frame == nil or frame.args['x'] == nil or frame.args['y'] == nil) then
return 'Hex'
return 'Hex'
end
end
432

edits