Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Register
(Marked this version for translation)
m (Remove alias)
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
-- <languages />
 
-- <pre>
 
 
local p = {}
 
local p = {}
   
p.docLead = [=[<translate><!--T:4-->
+
p.docLead = [=[<translate><!--T:4--> It is for use with mod author pages.</translate>]=]
It is for use with mod author pages.</translate>]=]
 
   
local genders = { male = [=[<translate><!--T:1-->
+
local genders = {
Male</translate>]=], female = [=[<translate><!--T:2-->
+
male = [=[<translate><!--T:1--> Male</translate>]=],
Female</translate>]=], other = [=[<translate><!--T:3-->
+
female = [=[<translate><!--T:2--> Female</translate>]=],
Other</translate>]=], unknown = [=[<translate><!--T:45-->
+
agender = [=[<translate><!--T:50--> Agender</translate>]=],
Unknown</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 = {
 
p.format = {
 
{
 
{
title = {arg="name", desc=[=[<translate><!--T:5-->
+
title = {arg="name", desc=[=[<translate><!--T:5--> The author's name.</translate>]=]},
The author's name.</translate>]=]},
 
 
{
 
{
{ {arg="image", type="image", desc=[=[<translate><!--T:6-->
+
{{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>]=]}},
The big picture.</translate>]=] } },
 
{ [=[<translate><!--T:7-->
+
{[=[<translate><!--T:41--> Alias</translate>]=], {arg="alias", desc=[=[<translate><!--T:42--> The mod author's alias if they have one.</translate>]=]}},
Gender</translate>]=], {arg="gender", type="switch", allowedValues = genders, desc=[=[<translate><!--T:8-->
+
{[=[<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>]=]}}
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-->
+
{[=[<translate><!--T:13--> Website</translate>]=], {arg="site", type="link", desc=[=[<translate><!--T:14--> The mod author's website.</translate>]=]}},
Website</translate>]=], {arg="site", desc=[=[<translate><!--T:14-->
+
{[=[<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>]=]}},
The mod author's website.</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:15-->
+
{[=[<translate><!--T:43--> Facebook</translate>]=], {arg="facebook", type="link", desc=[=[<translate><!--T:44--> The mod author's Facebook account.</translate>]=]}},
Twitter</translate>]=], {arg="twitter", desc=[=[<translate><!--T:16-->
+
{[=[<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>]=]}},
The mod author's Twitter account. It's recommended to use {{Tl|Twitter}}</translate>]=]}},
 
{ [=[<translate><!--T:17-->
+
{[=[<translate><!--T:39--> Patreon</translate>]=], {arg="patreon", type="link", desc=[=[<translate><!--T:40--> The mod author's Patreon account.</translate>]=]}},
Player.me</translate>]=], {arg="player", desc=[=[<translate><!--T:18-->
+
{[=[<translate><!--T:19--> Occupation</translate>]=], {arg="occupation", desc=[=[<translate><!--T:20--> The mod author's occupation, or job.</translate>]=]}}
The mod author's player.me account.</translate>]=]}},
 
{ [=[<translate><!--T:43-->
 
Facebook</translate>]=], {arg="facebook", desc=[=[<translate><!--T:44-->
 
The mod author's Facebook account.</translate>]=]}},
 
{ [=[<translate><!--T:35-->
 
GitHub</translate>]=], {arg="github", desc=[=[<translate><!--T:36-->
 
The mod author's GitHub account.</translate>]=]}},
 
{ [=[<translate><!--T:37-->
 
BitBucket</translate>]=], {arg="bitbucket", desc=[=[<translate><!--T:38-->
 
The mod author's BitBucket account.</translate>]=]}},
 
{ [=[<translate><!--T:39-->
 
Patreon</translate>]=], {arg="patreon", 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:21-->
 
Mods</translate>]=], {arg="mods", desc=[=[<translate><!--T:22-->
+
{[=[<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>]=]}},
The mods that the author has created. 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>]=]}}
{ [=[<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="modpack", desc=[=[<translate><!--T:26-->
 
If the person has released a modpack. Use an internal link if it is on the FTB Launcher; external if not. 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 internal links. Use <nowiki><br/></nowiki> in between project names.</translate>]=]}}
 
 
}
 
}
 
},
 
},
 
{
 
{
title = [=[<translate><!--T:29-->
+
title = [=[<translate><!--T:29--> Communication</translate>]=],
IRC</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:30-->
 
Server</translate>]=], {arg="server", desc=[=[<translate><!--T:31-->
+
{[=[<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>]=]}}
The IRC server that their channel is on. This is often irc.esper.net</translate>]=]}},
 
{ [=[<translate><!--T:32-->
 
Channel</translate>]=], {arg="channel", desc=[=[<translate><!--T:33-->
 
The author's IRC channel. Use <nowiki><br/></nowiki> between channels </translate>]=]}},
 
   
 
}
 
}
Line 90: Line 56:
 
p.examples = {
 
p.examples = {
 
{ [=[<translate><!--T:34-->
 
{ [=[<translate><!--T:34-->
{{infobox author
+
{{Infobox author
 
|name=Myrathi
 
|name=Myrathi
 
|image=Myrathi.png
 
|image=Myrathi.png
 
|alias=Alias
 
|alias=Alias
|gender=Male
+
|gender=male
 
|birthday=01/01/1901
 
|birthday=01/01/1901
 
|location=Place
 
|location=Place
 
|site=http://nowebsite.com
 
|site=http://nowebsite.com
 
|facebook=https://facebook.com/somefacebookaccount
 
|facebook=https://facebook.com/somefacebookaccount
|twitter=https://twitter.com/Myrathi
+
|twitter={{Twitter|Myrathi}}
 
|player=http://player.me/test
 
|player=http://player.me/test
 
|occupation=Licking eyeballs
 
|occupation=Licking eyeballs
|mods=[[ChargePads]]<br/>[[FinndusFillies]]<br/>[[FlatSigns]]<br/>
+
|mods=[[ChargePads]]<br />[[FinndusFillies]]<br />[[FlatSigns]]<br />[[InfiniBows]]<br />[[ObsidiPlates]]<br />[[Switches]]<br />[[MagicFarmBalance]]<br />[[SizzleBalance]]
[[InfiniBows]]<br/>[[ObsidiPlates]]<br/>[[Switches]]<br/>
 
[[MagicFarmBalance]]<br/>[[SizzleBalance]]
 
 
|disconmods=Nothing
 
|disconmods=Nothing
|server=irc.esper.net
+
|irc=esper.net@Nothing,Eyeballs
 
}}</translate>]=]}
|channel=#Nothing<br/>#Eyeballs
 
}}</translate>]=] }
 
 
}
 
}
   
 
return p
 
return p
--</pre>
 

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