Template:Infobox user: Difference between revisions
No edit summary |
|||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== When to use == | == When to use == | ||
Place this on any User: namespace page. It will produce the handy info box. It will also automatically | Place this on any User: namespace page. It will produce the handy info box. It will also automatically categorize 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 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 | Please only use this template for individual users, and only in the User: namespace. | ||
==Usage== | ==Usage== | ||
Line 25: | Line 25: | ||
|moderator = Yes | |moderator = Yes | ||
|admin = Yes | |admin = Yes | ||
|serverrank = | |serverrank = BigBadWolf | ||
}} | }} | ||
</pre> | </pre> | ||
Line 55: | Line 55: | ||
|name = | |name = | ||
|bodystyle = | |bodystyle = | ||
|title = {{#if:{{{minecraftname|}}}|{{{minecraftname|}}}|{{PAGENAME}}}} | |title = {{#if:{{{minecraftname|}}}|{{{minecraftname|}}}|{{PAGENAME}}}} | ||
|titlestyle = | |titlestyle = | ||
|image = | |image = [[File:{{#if:{{{minecraftname|}}}|{{{minecraftname|}}}|{{PAGENAME}}}}.png]] | ||
|imagestyle = | |imagestyle = | ||
|caption = {{{skinexplain|}}} | |caption = {{{skinexplain|}}} | ||
|captionstyle = | |captionstyle = | ||
|headerstyle = background:#003B6F; | |headerstyle = color:#FFFFFF;background:#003B6F; | ||
|labelstyle = background:# | |labelstyle = background:#f9f9f9; | ||
|datastyle = | |datastyle = | ||
|header1 = About | |header1 = About | ||
Line 78: | Line 77: | ||
|label7 = Occupation | |label7 = Occupation | ||
|data7 = {{{occupation|}}} | |data7 = {{{occupation|}}} | ||
|header8 = | |header8 = In BadWolfMC | ||
|label9 = First joined | |label9 = First joined | ||
|data9 = {{#formatdate:{{{firstjoindate|}}}}} | |data9 = {{#formatdate:{{{firstjoindate|}}}}} | ||
Line 86: | Line 85: | ||
|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 = Server Rank | |label12 = Server Rank | ||
|data12 = {{#ifeq:{{lc:{{{serverrank|}}}}}|member|<span style="color:darkgray">[[Rank_system#Member|Member]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|iron|<span style="color:dimgray">[[Rank_system#Iron_Member|Iron]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|gold|<span style="color:gold">[[Rank_system#Gold_Contributor|Gold]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|diamond|<span style="color:cyan">[[Rank_system#Diamond_Contributor|Diamond]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|builder|<span style="color:darkcyan">[[Rank_system#Builder|Builder]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|moderator|<span style="color:darkcyan">[[Rank_system#Moderator|Moderator]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|admin|<span style="color:darkred">[[Rank_system#Admin|Admin]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|bigbadwolf|<span style="color:royalblue">[[Rank_system#BigBadWolf|BigBadWolf]]</span>| | |data12 = {{#ifeq:{{lc:{{{serverrank|}}}}}|member|<span style="color:darkgray">[[Rank_system#Member|Member]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|iron|<span style="color:dimgray">[[Rank_system#Iron_Member|Iron]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|gold|<span style="color:gold">[[Rank_system#Gold_Contributor|Gold]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|diamond|<span style="color:cyan">[[Rank_system#Diamond_Contributor|Diamond]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|builder|<span style="color:darkcyan">[[Rank_system#Builder|Builder]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|moderator|<span style="color:darkcyan">[[Rank_system#Moderator|Moderator]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|admin|<span style="color:darkred">[[Rank_system#Admin|Admin]]</span>|{{#ifeq:{{lc:{{{serverrank|}}}}}|bigbadwolf|<span style="color:royalblue">[[Rank_system#BigBadWolf|BigBadWolf]]</span>|}}}}}}}}}}}}}}}}}} | ||
{{#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]]|{{#ifeq:{{{gender|}}}|non-binary|[[Category:Non-Binary Players]]|{{#ifeq:{{{gender|}}}|Non-Binary|[[Category:Non-Binary Players]]|[[Category:Gender Undeclared Players]]}}}}}}}}}}}}</includeonly> |
Latest revision as of 08:48, 10 May 2022
When to use
Place this on any User: namespace page. It will produce the handy info box. It will also automatically categorize 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.
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 = August |birthdayyear = |occupation = Server God |firstjoindate = 20 August 2016 |firstbuilding = [[Mall]] |moderator = Yes |admin = Yes |serverrank = BigBadWolf }}
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.