Module:Profession info: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 13:
return qty(xp)
else
return qty(0)
end
end
Line 21:
return pcp(profession, level)
else
return edit..'[[Category:Needs level info]]'
end
end
Line 32:
end
end
local smw_properties = {
['Skill node name'] = args.name,
['Uses profession'] = args.profession,
['Profession level'] = args.level,
['Profession experience'] = args.xp
}
mw.smw.set(smw_properties)
local out = mw.html.create('table')
Line 65 ⟶ 73:
:done()
:done()
if hc(args.respawn) then
out
:tag('tr')
:tag('th')
:wikitext('Respawn time')
:done()
:tag('td')
:wikitext(durationarg(args.respawn))
:done()
:done()
end
if hc(args.tool) then
out
|