Module:Infobox/pack

From Feed The Beast Wiki
Jump to: navigation, search

Documentation for this module may be created at Module:Infobox/pack/en/doc

local p = {}

p.docLead = [=[It has been specifically designed for Mod Pack articles.]=]

p.format = {
    {
        title={arg="name", desc = [=[The name of the mod pack.]=]},
        {
            {{arg="image", type="image", desc = [=[A picture used to identify the mod pack.]=]}},
            {[=[Maintained by]=], {arg="maintainer", desc = [=[The current maintainer of the mod pack.]=]}},
			{[=[Modpack code]=], {arg="code", desc = [=[The modpack's code on the FTB launcher.]=]}}
        }
    },
    {
        title = [=[Description]=],
        {
            {cellstyle="text-align: left", {arg="description", desc= [=[The description of the mod pack.]=]}}
        }
    },
    {
        title = [=[Version info]=],
        {
            {[=[Current stable]=], {arg="stableversion", desc = [=[The currently stable version of the mod pack.]=]}},
            {[=[Latest]=], {arg="latestversion", desc= [=[The latest version of the mod pack.]=]}}
        },
        {
            {[=[Minecraft]=], {arg="mcversion", desc= [=[The version of Minecraft the mod pack uses.]=]}},
            {[=[Forge]=], {arg="forgeversion", desc= [=[The version of Forge the mod pack uses.]=]}}
        }
    }
}

p.examples = {{[=[{{Infobox pack
|name=Panilla
|image=Panilla.png
|mcversion=1.11.2
|maintainer=Xbony2
|stableversion=1.1.0a
}}]=]}}

return p