ElEditors, Interface administrators, Administrators
70,892
edits
m (Protected "Module:Petbox": Easily broken pages ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
local infobox = require('Module:InfoboxProto').main(frame, title); | local infobox = require('Module:InfoboxProto').main(frame, title); | ||
infobox:addClass('infobox- | infobox:addClass('infobox-pet'); | ||
local fields = { | |||
{ | |||
id = 'name' | |||
}, | |||
{ | |||
id = 'Starting Form' | |||
}, | |||
{ | |||
id = 'Inventory', | |||
localize = 'Pet Inventory Size' | |||
}, | |||
{ | |||
id = 'Trait' | |||
}, | |||
{ | |||
id = 'Commands', | |||
localize = 'Special Commands' | |||
} | |||
} | |||
addFields(fields); | |||
return tostring(infobox) .. '[[Category: Pets]]'; | return tostring(infobox) .. '[[Category: Pets]]'; |