Documentation for this module may be created at Module:Infobox/mod/en/doc
local p = {}
p.docLead = [=[It is designed for use in articles about mods.]=]
p.format = {
{
title = {arg="name", desc=[=[The title that will be displayed at the top of the info box.]=]},
{
{{arg={"image"}, type="image", desc=[=[The modicon of the mod in the format <code>Modicon (full mod name).png</code> where the modicon is located.]=]}}
},
{
{[=[Current developers]=], {arg="author", desc=[=[Current author or authors of the mod. Separate multiple authors by commas or linebreaks.]=]}},
{[=[Past developers]=], {arg="pastauthor", desc=[=[Previous author(s) of the mod.]=]}}
},
{
{[=[Version]=], {arg="version", desc=[=[The current mod version. Optionally, this can have different versions for each supported Minecraft version denoted by a colon and separated by <nowiki><br /></nowiki>.]=]}},
{[=[Supported Minecraft versions]=], {arg="mcversion", desc=[=[The Minecraft versions that are supported by the mod.]=]}},
{[=[Mod loader]=], {arg="modloader", desc=[=[The mod loader used by the mod. This will usually be {{L|Minecraft Forge}}.]=]}},
{[=[Depends on]=], {arg={"requires", "dependency"}, desc=[=[If the mod is an addon to another mod.]=]}},
{[=[Needed for]=], {arg="neededfor", desc=[=[If the mod is a dependency to another mod.]=]}},
{[=[Previously depended on]=], {arg={"requirespast", "dependencypast"}, desc=[=[If the mod was dependent on another mod, but is no longer.]=]}},
{[=[Previously needed for]=], {arg="neededforpast", desc=[=[If the mod had a dependency to another mod, but it is no longer needed.]=]}},
{[=[URL]=], {arg="url", type="link", desc=[=[URL to the mod's main page. Can be a dedicated forum thread or website.]=]}}
},
{
{[=[Discord server]=], {arg="discord", type="link", desc=[=[The Discord server for the mod.]=]}},
{[=[IRC channel]=], {arg="irc", type="templateCall", template="IRC", desc=[=[The IRC server and channel for the mod. Formatted as server@channel, for example: esper.net@TheSteamTank.]=]}}
},
{
{[=[Mod ID]=], {arg="id", desc=[=[The mod's mod ID]=]} }
},
{
{[=[Wikidata]=], {arg="wikidata", type="templateCall", template="Wikidata", desc=[=[For Wikidata items that correspond to the mod. For example, Q85214868 is for WorldEdit.]=]} }
},
},
{
name="Packs",
title=[=[Modpacks]=],
{
{{arg="modpacks", desc=[=[What modpacks include this mod.]=]}}
}
}
}
p.examples = {
{[=[{{Infobox mod
|name=Thaumcraft 4
|image=Modicon Thaumcraft4.png
|modloader={{L|Minecraft Forge}}
|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/
|wikidata=Q93048523
}}]=]}
}
return p