Module:Infobox/author

local p = {}

p.docLead = [=[ It is for use with mod author pages. ]=]

local genders = { male = [=[ Male ]=], female = [=[ Female ]=], agender = [=[ Agender ]=], genderfluid = [=[ Genderfluid ]=], nonbinary = [=[ Non-binary ]=], pangender = [=[ Pangender ]=], twospirit = [=[ Two-Spirit ]=], trigender = [=[ Trigender ]=], hijra = [=[ Hijra ]=], other = [=[ Other ]=], unknown = [=[ Unknown ]=] }

p.format = { {       title = {arg="name", desc=[=[ The author's name. ]=]},       {            {{arg="image", type="image", desc=[=[ The big picture. ]=] } },           {[=[ Gender ]=], {arg="gender", type="switch", allowedValues = genders, desc=[=[ The gender of the mod author. ]=]}},           {[=[ Alias ]=], {arg="alias", desc=[=[ The mod author's alias if they have one. ]=]}},           {[=[ Date of birth ]=], {arg="birthday", desc=[=[ The date of birth of the mod author. Use mm/dd/yyyy format. ]=]}},           {[=[ Location ]=], {arg="location", desc=[=[ Where in the world the mod author resides. ]=]}}       },        {            {[=[ Website ]=], {arg="site", type="link", desc=[=[ The mod author's website. ]=]}},           {[=[ Twitter ]=], {arg="twitter", desc=[=[ The mod author's Twitter account. It's recommended to use Twitter ]=]}}, {[=[ Player.me ]=], {arg="player", type="link", desc=[=[ The mod author's player.me account. ]=]}},           {[=[ Facebook ]=], {arg="facebook", type="link", desc=[=[ The mod author's Facebook account. ]=]}},           {[=[ GitHub ]=], {arg="github", type="link", desc=[=[ The mod author's GitHub account. ]=]}},           {[=[ BitBucket ]=], {arg="bitbucket", type="link", desc=[=[ The mod author's BitBucket account. ]=]}},           {[=[ Patreon ]=], {arg="patreon", type="link", desc=[=[ The mod author's Patreon account. ]=]}},           {[=[ Occupation ]=], {arg="occupation", desc=[=[ The mod author's occupation, or job. ]=]}}       },        {            {[=[ Mods ]=], {arg="mods", desc=[=[ The mods that the author has created. Use in between mod names. ]=]}},           {[=[ Discontinued mods ]=], {arg="disconmods", desc=[=[ Mods that the author has discontinued, or passed on to another author. Use in between mod names. ]=]}},           {[=[ Modpacks ]=], {arg="modpacks", desc=[=[ Possible modpacks that the author has created. Use between modpacks. ]=]}},           {[=[ Projects ]=], {arg="projects", desc=[=[ Projects that are Minecraft-related that are not mods or modpacks. Use in between project names. ]=]}}       }    },    {        title = [=[ Communication ]=], {           {[=[ Discord server ]=], {arg="discord", type="link", desc=[=[ The Discord server for the author, if applicable. If the server is just for one of their mods and they have multiple, then do not link that. Instead, the discord parameter in the Infobox for that specific mod should be used. ]=]}},           {[=[ 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. ]=]}}

}   } }

p.examples = { { [=[ ]=]} }

return p