Module:Profession info: Difference between revisions

no edit summary
m (BlackHawk moved page Module:Sandbox/User:BlackHawk/Profession info to Module:Profession info without leaving a redirect)
No edit summary
Line 20:
if hc(profession) and hc(level) then
return pcp(profession, level)
else
return edit
end
end
local function durationarg(duration)
if hc(duration) then
return duration..' seconds'
else
return edit
Line 47 ⟶ 55:
:tag('td')
:wikitext(exparg(args.xp))
:done()
:done()
:tag('tr')
:tag('th')
:wikitext('Duration')
:done()
:tag('td')
:wikitext(durationarg(args.duration))
:done()
:done()