Template:Infobox user: Difference between revisions

From BadWolfMC Wiki
Line 11: Line 11:
<pre>
<pre>
{{Infobox user
{{Infobox user
|minecraftname = JimBob732
|minecraftname = mercurialmusic
|preferredname = Jim
|preferredname = merc
|skinexplain  = Elf prince
|skinexplain  = The 10th Doctor
|gender        = Male
|gender        = Male
|location      = Canada
|location      = North Carolina
|nationality  = Japanese
|nationality  =  
|birthdayday  = 28
|birthdayday  = 26
|birthdaymonth = 2
|birthdaymonth = 8
|birthdayyear  = 1975
|birthdayyear  =  
|occupation    = Hairdresser
|occupation    = Server God
|firstjoindate = 17 December 2010
|firstjoindate = 20 August 2016
|firstbuilding = [[WeepingMiner]]
|firstbuilding = [[Mall]]
|moderator    = Yes
|moderator    = Yes
|admin        = No
|admin        = Yes
|donorlevel    = Wood
|donorlevel    =  
}}
}}
</pre>
</pre>
Line 46: Line 46:
|moderator    =  
|moderator    =  
|admin        =  
|admin        =  
|donorlevel   =  
|serverrank   =  
}}
}}
</pre>
</pre>
Line 62: Line 62:
|caption      = {{{skinexplain|}}}
|caption      = {{{skinexplain|}}}
|captionstyle =  
|captionstyle =  
|headerstyle  = background:#ccf;
|headerstyle  = background:#003B6F;
|labelstyle  = background:#ddf;
|labelstyle  = background:#FFFFFF;
|datastyle    =  
|datastyle    =  
|header1 = About
|header1 = About
Line 78: Line 78:
|label7  = Occupation
|label7  = Occupation
|data7  = {{{occupation|}}}
|data7  = {{{occupation|}}}
|header8 = In Freedonia
|header8 = In BadWolfMC
|label9  = First joined
|label9  = First joined
|data9  = {{#formatdate:{{{firstjoindate|}}}}}
|data9  = {{#formatdate:{{{firstjoindate|}}}}}
Line 85: Line 85:
|label11 = Staff member
|label11 = Staff member
|data11  = {{#ifeq:{{lc:{{{moderator|}}}}}|yes|[[Moderator]][[Category:Moderators|{{uc:{{{minecraftname|}}}}}]]|{{#ifeq:{{lc:{{{admin|}}}}}|yes|[[Admin]][[Category:Admins|{{uc:{{{minecraftname|}}}}}]]|}}}}
|data11  = {{#ifeq:{{lc:{{{moderator|}}}}}|yes|[[Moderator]][[Category:Moderators|{{uc:{{{minecraftname|}}}}}]]|{{#ifeq:{{lc:{{{admin|}}}}}|yes|[[Admin]][[Category:Admins|{{uc:{{{minecraftname|}}}}}]]|}}}}
|label12 = Donor level
|label12 = Server Rank
|data12  = {{#ifeq:{{lc:{{{donorlevel|}}}}}|wood|<span style="color:gold">*</span> Wood[[Category:Wood_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|stone|<span style="color:gold">**</span> Stone[[Category:Stone_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|iron|<span style="color:gold">***</span> Iron[[Category:Iron_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|gold|<span style="color:gold">****</span> Gold[[Category:Gold_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|diamond|<span style="color:gold">*****</span> Diamond[[Category:Diamond_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|obsidian|<span style="color:purple">*****</span> Obsidian[[Category:Obsidian_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|nether|<span style="color:crimson">*****</span> Nether[[Category:Nether_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|aether|<span style="color:cyan">*****</span> Aether[[Category:Aether_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|demigod|<span style="color:gray">*****</span> Demigod[[Category:Demigod_donor]]|{{#ifeq:{{lc:{{{donorlevel|}}}}}|god|<span style="color:gold">*GOD*</span>[[Category:God_donor]]|}}}}}}}}}}}}}}}}}}}}
|data12  = {{#ifeq:{{lc:{{{serverrank|}}}}}|member|<span style="color:darkgray">Member[[Rank_system#Member]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|iron|<span style="color:dimgray">Iron[[Rank_system#Iron_Member]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|gold|<span style="color:gold">Gold[[Rank_system#Gold_Contributor]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|diamond|<span style="color:cyan">Diamond[[Rank_system#Diamond_Contributor]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|builder|<span style="color:darkcyan">Builder[[Rank_system#Builder]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|moderator|<span style="color:darkcyan">Moderator[[Rank_system#Moderator]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|Admin|<span style="color:darkred">Admin[[Rank_system#Admin]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|bigbadwolf|<span style="color:royalblue">BigBadWolf[[Rank_system#BigBadWolf]]</span>|}}}}}}}}}}}}}}}}}}}}
|belowstyle = background:#ddf;
|below  = [http://minecraftonline.com/cgi-bin/controlpanel?playerinfo={{#if:{{{minecraftname|}}}|{{{minecraftname|}}}|{{PAGENAME}}}} View profile and statistics]
}}{{#ifeq:{{{gender|}}}|Female|[[Category:Female Players]]|{{#ifeq:{{{gender|}}}|female|[[Category:Female Players]]|{{#ifeq:{{{gender|}}}|Male|[[Category:Male Players]]|{{#ifeq:{{{gender|}}}|male|[[Category:Male Players]]|[[Category:Gender Undeclared Players]]}}}}}}}}</includeonly>
}}{{#ifeq:{{{gender|}}}|Female|[[Category:Female Players]]|{{#ifeq:{{{gender|}}}|female|[[Category:Female Players]]|{{#ifeq:{{{gender|}}}|Male|[[Category:Male Players]]|{{#ifeq:{{{gender|}}}|male|[[Category:Male Players]]|[[Category:Gender Undeclared Players]]}}}}}}}}</includeonly>

Revision as of 04:30, 14 July 2018

When to use

Place this on any User: namespace page. It will produce the handy info box. It will also automatically categorise moderators and admins.

Please don't attempt to alter the code for this template unless you really know what you're doing, and you have community consensus.

Please only use this template for individual users, and only in the User: namespace - for organisations, use Template:Infobox organisation.

Usage

Copy the text below, paste it at the very top of the relevant article, and modify as appropriate:

{{Infobox user
|minecraftname = mercurialmusic
|preferredname = merc
|skinexplain   = The 10th Doctor
|gender        = Male
|location      = North Carolina
|nationality   = 
|birthdayday   = 26
|birthdaymonth = 8
|birthdayyear  = 
|occupation    = Server God
|firstjoindate = 20 August 2016
|firstbuilding = [[Mall]]
|moderator     = Yes
|admin         = Yes
|donorlevel    = 
}}

Or use this blank template:

{{Infobox user
|minecraftname = 
|preferredname = 
|skinexplain   = 
|gender        = 
|location      = 
|nationality   = 
|birthdayday   = 
|birthdaymonth = 
|birthdayyear  = 
|occupation    = 
|firstjoindate = 
|firstbuilding = 
|moderator     = 
|admin         = 
|serverrank    = 
}}

Note: If you use this template and don't populate all fields, do NOT delete the unused fields - this will only make it difficult for future editors to fill in the additional information later.