Documentation for this module may be created at Module:Infobox/mod/zh-cn/doc
-- <languages />
-- <pre>
local p = {}
p.docLead = [=[This one is for mods (and minor mods)]=]
p.format = {
title = {arg="name", desc=[=[The title that will be displayed at the top of the info box.]=]},
{
{{arg={"image"}, type="image", maxSize=640, desc=[=[The big picture.]=]}}
},
{
{[=[现任开发者]=], {arg="author", desc=[=[Current author or authors of the mod. Separate multiple authors by commas or linebreaks.]=]}},
{[=[过往开发者]=], {args="pastauthor", desc=[=[Previous author(s) of the mod.]=]}}
},
{
{[=[最新版本]=], {arg="version", desc=[=[The current mod version.]=]}},
{[=[依赖于]=], {arg={"requires", "dependency"}, desc=[=[If the mod is an addon to another mod.]=]}},
{[=[受依赖于]=], {arg="neededfor", desc=[=[If the mod is a dependency to another mod.]=]}},
{[=[之前依赖于]=], {arg={"requirespast", "dependecypast"}, desc=[=[If the mod was dependent on another mod, but is no longer.]=]}},
{[=[之前受依赖于]=], {arg="neededforpast", desc=[=[If the mod had a dependency to another mod, but it is no longer needed.]=]}},
{[=[链接]=], {arg="url", desc=[=[URL to the mod's main page. Can be a dedicated forum thread or website.]=]}}
},
{
name="Packs",
title=[=[整合包]=],
{
{{arg="modpacks", desc=[=[What modpacks include this mod.]=]}}
}
}
}
p.examples = {
{[=[ {{infobox mod
|name=Thaumcraft 4
|image=Modicon_Thaumcraft4.png
|requires={{L|Baubles}}
|neededfor={{L|Magic Bees}}<br />{{L|Thaumic Tinkerer}}
|author=Azanor
|pastauthor=Still Azanor
|version=4.1
|modpacks={{L|FTB Unleashed}}<br />{{L|FTB Unhinged}}
|url=http://www.minecraftforum.net/topic/2011841-thaumcraft-410g-updated-1032014/
}}]=]}
}
return p
-- </pre>