Module:Infobox item
Aller à la navigation
Aller à la recherche
Documentation
[purge]
local p = {}
local Arguments = require('Dev:Arguments')
local Arkitexure = require('Module:Arkitexure')
function p.renderArmorSection(f)
local args = Arguments.getArgs(f, {
trim = true,
removeBlanks = true,
})
return Arkitexure.createModule()
:unit '[[Armure]]'
:rowItemType(args.type or 'Armure', args.category or 'Armure'):done()
:rowKV('Taux d\'armure', args.armorrating):done()
:rowKV('Protection au froid', args.coldprotection):done()
:rowKV('Protection au chaud', args.heatprotection):done()
:done()
end
return p