Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
m (Add modpacks as alternative arg name)
m (Remove alias)
Line 40: Line 40:
 
{[=[<translate><!--T:21--> Mods</translate>]=], {arg="mods", desc=[=[<translate><!--T:22--> The mods that the author has created. Use <nowiki><br /></nowiki> in between mod names.</translate>]=]}},
 
{[=[<translate><!--T:21--> Mods</translate>]=], {arg="mods", desc=[=[<translate><!--T:22--> The mods that the author has created. Use <nowiki><br /></nowiki> in between mod names.</translate>]=]}},
 
{[=[<translate><!--T:23--> Discontinued mods</translate>]=], {arg="disconmods", desc=[=[<translate><!--T:24--> Mods that the author has discontinued, or passed on to another author. Use <nowiki><br /></nowiki> in between mod names.</translate>]=]}},
 
{[=[<translate><!--T:23--> Discontinued mods</translate>]=], {arg="disconmods", desc=[=[<translate><!--T:24--> Mods that the author has discontinued, or passed on to another author. Use <nowiki><br /></nowiki> in between mod names.</translate>]=]}},
{[=[<translate><!--T:25--> Modpacks</translate>]=], {arg={"modpacks", "modpack"}, desc=[=[<translate><!--T:26--> Possible modpacks that the author has created. Use <nowiki><br /></nowiki> between modpacks.</translate>]=]}},
+
{[=[<translate><!--T:25--> Modpacks</translate>]=], {arg="modpacks", desc=[=[<translate><!--T:26--> Possible modpacks that the author has created. Use <nowiki><br /></nowiki> between modpacks.</translate>]=]}},
 
{[=[<translate><!--T:27--> Projects</translate>]=], {arg="projects", desc=[=[<translate><!--T:28--> Projects that are Minecraft-related that are not mods or modpacks. Use <nowiki><br /></nowiki> in between project names.</translate>]=]}}
 
{[=[<translate><!--T:27--> Projects</translate>]=], {arg="projects", desc=[=[<translate><!--T:28--> Projects that are Minecraft-related that are not mods or modpacks. Use <nowiki><br /></nowiki> in between project names.</translate>]=]}}
 
}
 
}

Revision as of 08:59, 4 July 2020

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

local p = {}

p.docLead = [=[<translate><!--T:4--> It is for use with mod author pages.</translate>]=]

local genders = {
    male = [=[<translate><!--T:1--> Male</translate>]=],
    female = [=[<translate><!--T:2--> Female</translate>]=],
    agender = [=[<translate><!--T:50--> Agender</translate>]=],
    genderfluid = [=[<translate><!--T:51--> Genderfluid</translate>]=],
    nonbinary = [=[<translate><!--T:52--> Non-binary</translate>]=],
    pangender = [=[<translate><!--T:53--> Pangender</translate>]=],
    twospirit = [=[<translate><!--T:54--> Two-Spirit</translate>]=],
    trigender = [=[<translate><!--T:55--> Trigender</translate>]=],
    hijra = [=[<translate><!--T:56--> Hijra</translate>]=],
    other = [=[<translate><!--T:3--> Other</translate>]=],
    unknown = [=[<translate><!--T:45--> Unknown</translate>]=]
}

p.format = {
    {
        title = {arg="name", desc=[=[<translate><!--T:5--> The author's name.</translate>]=]},
        {
            {{arg="image", type="image", desc=[=[<translate><!--T:6--> The big picture.</translate>]=] } },
            {[=[<translate><!--T:7--> Gender</translate>]=], {arg="gender", type="switch", allowedValues = genders, desc=[=[<translate><!--T:8--> The gender of the mod author.</translate>]=]}},
            {[=[<translate><!--T:41--> Alias</translate>]=], {arg="alias", desc=[=[<translate><!--T:42--> The mod author's alias if they have one.</translate>]=]}},
            {[=[<translate><!--T:9--> Date of birth</translate>]=], {arg="birthday", desc=[=[<translate><!--T:10--> The date of birth of the mod author. Use mm/dd/yyyy format.</translate>]=]}},
            {[=[<translate><!--T:11--> Location</translate>]=], {arg="location", desc=[=[<translate><!--T:12--> Where in the world the mod author resides.</translate>]=]}}
        },
        {
            {[=[<translate><!--T:13--> Website</translate>]=], {arg="site", type="link", desc=[=[<translate><!--T:14--> The mod author's website.</translate>]=]}},
            {[=[<translate><!--T:15--> Twitter</translate>]=], {arg="twitter", desc=[=[<translate><!--T:16--> The mod author's Twitter account. It's recommended to use {{Tl|Twitter}}</translate>]=]}},
            {[=[<translate><!--T:17--> Player.me</translate>]=], {arg="player", type="link", desc=[=[<translate><!--T:18--> The mod author's player.me account.</translate>]=]}},
            {[=[<translate><!--T:43--> Facebook</translate>]=], {arg="facebook", type="link", desc=[=[<translate><!--T:44--> The mod author's Facebook account.</translate>]=]}},
            {[=[<translate><!--T:35--> GitHub</translate>]=], {arg="github", type="link", desc=[=[<translate><!--T:36--> The mod author's GitHub account.</translate>]=]}},
            {[=[<translate><!--T:37--> BitBucket</translate>]=], {arg="bitbucket", type="link", desc=[=[<translate><!--T:38--> The mod author's BitBucket account.</translate>]=]}},
            {[=[<translate><!--T:39--> Patreon</translate>]=], {arg="patreon", type="link", desc=[=[<translate><!--T:40--> The mod author's Patreon account.</translate>]=]}},
            {[=[<translate><!--T:19--> Occupation</translate>]=], {arg="occupation", desc=[=[<translate><!--T:20--> The mod author's occupation, or job.</translate>]=]}}
        },
        {
            {[=[<translate><!--T:21--> Mods</translate>]=], {arg="mods", desc=[=[<translate><!--T:22--> The mods that the author has created. Use <nowiki><br /></nowiki> in between mod names.</translate>]=]}},
            {[=[<translate><!--T:23--> Discontinued mods</translate>]=], {arg="disconmods", desc=[=[<translate><!--T:24--> Mods that the author has discontinued, or passed on to another author. Use <nowiki><br /></nowiki> in between mod names.</translate>]=]}},
            {[=[<translate><!--T:25--> Modpacks</translate>]=], {arg="modpacks", desc=[=[<translate><!--T:26--> Possible modpacks that the author has created. Use <nowiki><br /></nowiki> between modpacks.</translate>]=]}},
            {[=[<translate><!--T:27--> Projects</translate>]=], {arg="projects", desc=[=[<translate><!--T:28--> Projects that are Minecraft-related that are not mods or modpacks. Use <nowiki><br /></nowiki> in between project names.</translate>]=]}}
        }
    },
    {
        title = [=[<translate><!--T:29--> Communication</translate>]=],
        {
            {[=[<translate><!--T:46--> Discord server</translate>]=], {arg="discord", type="link", desc=[=[<translate><!--T:47--> 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.</translate>]=]}},
            {[=[<translate><!--T:48--> IRC channel</translate>]=], {arg="irc", type="templateCall", template="IRC", desc=[=[<translate><!--T:49--> The IRC server and channel for the mod. Formatted as server@channel, for example: esper.net@TheSteamTank.</translate>]=]}}

        }
    }
}

p.examples = {
    { [=[<translate><!--T:34-->
{{Infobox author
|name=Myrathi
|image=Myrathi.png
|alias=Alias
|gender=male
|birthday=01/01/1901
|location=Place
|site=http://nowebsite.com
|facebook=https://facebook.com/somefacebookaccount
|twitter={{Twitter|Myrathi}}
|player=http://player.me/test
|occupation=Licking eyeballs
|mods=[[ChargePads]]<br />[[FinndusFillies]]<br />[[FlatSigns]]<br />[[InfiniBows]]<br />[[ObsidiPlates]]<br />[[Switches]]<br />[[MagicFarmBalance]]<br />[[SizzleBalance]]
|disconmods=Nothing
|irc=esper.net@Nothing,Eyeballs
}}</translate>]=]}
}

return p