Module:Infobox/pack

From Feed The Beast Wiki
Jump to: navigation, search

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

local p = {}

p.docLead = [=[<translate><!--T:16--> It has been specifically designed for Mod Pack articles.</translate>]=]

p.format = {
    {
        title={arg="name", desc = [=[<translate><!--T:1--> The name of the mod pack.</translate>]=]},
        {
            {{arg="image", type="image", desc = [=[<translate><!--T:2--> A picture used to identify the mod pack.</translate>]=]}},
            {[=[<translate><!--T:3--> Maintained by</translate>]=], {arg="maintainer", desc = [=[<translate><!--T:4--> The current maintainer of the mod pack.</translate>]=]}},
			{[=[<translate><!--T:17--> Modpack code</translate>]=], {arg="code", desc = [=[<translate><!--T:18--> The modpack's code on the FTB launcher.</translate>]=]}}
        }
    },
    {
        title = [=[<translate><!--T:5--> Description</translate>]=],
        {
            {cellstyle="text-align: left", {arg="description", desc= [=[<translate><!--T:6--> The description of the mod pack.</translate>]=]}}
        }
    },
    {
        title = [=[<translate><!--T:7--> Version info</translate>]=],
        {
            {[=[<translate><!--T:8--> Current stable</translate>]=], {arg="stableversion", desc = [=[<translate><!--T:9--> The currently stable version of the mod pack.</translate>]=]}},
            {[=[<translate><!--T:10--> Latest</translate>]=], {arg="latestversion", desc= [=[<translate><!--T:11--> The latest version of the mod pack.</translate>]=]}}
        },
        {
            {[=[<translate><!--T:12--> Minecraft</translate>]=], {arg="mcversion", desc= [=[<translate><!--T:13--> The version of Minecraft the mod pack uses.</translate>]=]}},
            {[=[<translate><!--T:14--> Forge</translate>]=], {arg="forgeversion", desc= [=[<translate><!--T:15--> The version of Forge the mod pack uses.</translate>]=]}}
        }
    }
}

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

return p