Feed The Beast Wiki
Feed The Beast Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
Line 1: Line 1:
-- <languages />
 
-- <pre>
 
 
local p = {}
 
local p = {}
   
Line 9: Line 7:
 
title={arg="name", desc = [=[The name of the mod pack.]=]},
 
title={arg="name", desc = [=[The name of the mod pack.]=]},
 
{
 
{
{ {arg="image", type="image", desc = [=[A picture used to identify 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.]=]}},
+
{[=[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.]=]}}
+
{[=[Modpack code]=], {arg="code", desc = [=[The modpack's code on the FTB launcher.]=]}}
 
}
 
}
 
},
 
},
Line 17: Line 15:
 
title = [=[Description]=],
 
title = [=[Description]=],
 
{
 
{
{ cellstyle="text-align: left", {arg="description", desc= [=[The description of the mod pack.]=]}}
+
{cellstyle="text-align: left", {arg="description", desc= [=[The description of the mod pack.]=]}}
 
}
 
}
 
},
 
},
Line 23: Line 21:
 
title = [=[Version info]=],
 
title = [=[Version info]=],
 
{
 
{
{ [=[Current stable]=], {arg="stableversion", desc = [=[The currently stable version of the mod pack.]=]}},
+
{[=[Current stable]=], {arg="stableversion", desc = [=[The currently stable version of the mod pack.]=]}},
{ [=[Latest]=], {arg="latestversion", desc= [=[The latest 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.]=]}},
+
{[=[Minecraft]=], {arg="mcversion", desc= [=[The version of Minecraft the mod pack uses.]=]}},
{ [=[Forge]=], {arg="forgeversion", desc= [=[The version of Forge the mod pack uses.]=]}}
+
{[=[Forge]=], {arg="forgeversion", desc= [=[The version of Forge the mod pack uses.]=]}}
 
}
 
}
 
}
 
}
 
}
 
}
   
p.examples = {
+
p.examples = {{[=[{{Infobox pack
  +
|name=Panilla
{
 
  +
|image=Panilla.png
[=[{{Infobox pack
 
 
|mcversion=1.11.2
| name = Some pack
 
 
|maintainer=Xbony2
| mcversion = 1.1.1
 
 
|stableversion=1.1.0a
| forgeversion = 9001
 
 
}}]=]}}
| stableversion = 100
 
| maintainer = Someone
 
| description = Some description
 
}}]=]
 
}
 
}
 
   
 
return p
 
return p
-- </pre>
 

Latest revision as of 00:26, 14 October 2017

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