Module:Profession info: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 4:
local hc = require('Module:Param Parse').has_content
local qty = require('Module:Quantity box')._main
local pcp = require('Module:Profession clickpic')._main
function p.main(frame)
Line 9 ⟶ 10:
local function exparg(xp)
if hc(xp
return qty(xp)
else
return qty(0) .. edit
end
end
local function levelarg(profession, level)
if hc(profession) and hc(level) then
return pcp(profession, level)
else
return edit
end
end
Line 29 ⟶ 38:
:done()
:tag('td')
:wikitext(
:done()
:done()
Line 41 ⟶ 50:
:done()
if hc(args.tool
out
:tag('tr')
Line 53 ⟶ 62:
end
if hc(args.input
out
:tag('tr')
|