Module:Infobox/multiblock

-- -- local p = {}

p.docLead = [=[ It is for use with multiblock structure pages. ]=]

local type = { free = [=[ Free-Form ]=], fixed = [=[ Fixed Shape ]=] }

p.format = { {       title = {arg="name", desc=[=[ The structure's name ]=]}, {           {             	{ {arg="image", type="image", desc=[=[ The big picture. ]=] } },           	{ {arg="iconimage", desc=[=[ The icon image. Use Gc or O. ]=]} } },           { [=[ Mod ]=], {arg="mod", desc=[=[ The mod the multiblock structure belongs to. Do not use version numbers, just the name. ]=]} },           { [=[ Type ]=], {arg="type", type="switch", allowedValues = shapes, desc=[=[ The type of the multiblock. Free-Form can be any shape, Fixed has a specific required shape. ]=]}},       },        {            { [=[ Required blocks ]=], {arg="reqblocks", desc=[=[ The blocks that are required for this multiblock. Use Gc with the size parameter if needed. ]=]} },       },        {            { [=[ Optional blocks ]=], {arg="optblocks", desc=[=[ The optional blocks that can be included in the structure. Use Gc with the size parameter if needed. ]=]} },       },        {            { [=[ Construction ]=], {arg="shape", desc=[=[ The construction of the multiblock. Use Cg/Multiblock. You probably should not use this if the type is free. ]=]} }       }    } }

return p --