Difference between revisions of "Template:MemberBox"

From Hack Forums Wiki
Line 1: Line 1:
<includeonly>{{HFMember|UID={{PAGENAMEE}}}}</includeonly>
<includeonly>
{{#ifeq: {{{IsModerator|}}}|<protect>True</protect>|{{HFModerator|UID={{PAGENAMEE}}}}|{{Empty}}}}
{{HFMember|UID={{PAGENAMEE}}}}
{{#ifeq: {{{IsMentor|}}}|<protect>True</protect>|{{HFMentor|UID={{PAGENAMEE}}}}|{{Empty}}}}
{{#ifeq: {{{IsModerator|}}}|<protect>True</protect>|{{HFModerator|UID={{{UID}}}}}|{{Empty}}}}
{{#ifeq: {{{IsStaff|}}}|<protect>True</protect>|{{HFStaff|UID={{PAGENAMEE}}}}|{{Empty}}}}
{{#ifeq: {{{IsMentor|}}}|<protect>True</protect>|{{HFMentor|UID={{{UID}}}}}|{{Empty}}}}
{{#ifeq: {{{IsAdmin|}}}|<protect>True</protect>|{{HFAdmin|UID={{PAGENAMEE}}}}|{{Empty}}}}
{{#ifeq: {{{IsStaff|}}}|<protect>True</protect>|{{HFStaff|UID={{{UID}}}}}|{{Empty}}}}
{{#ifeq: {{{IsAdmin|}}}|<protect>True</protect>|{{HFAdmin|UID={{{UID}}}}}|{{Empty}}}}
{{Infobox
{{Infobox
|  bodystyle = overflow: auto; width: 21%; background: #333333; color: #d3d3d3; float: right; margin-right: 8px; margin-top: 0px;
|  bodystyle = overflow: auto; width: 21%; background: #333333; color: #d3d3d3; float: right; margin-right: 8px; margin-top: 0px;
|  above    = <span style="color: white; font-weight: bold;"><u><big>{{{Username}}}</big></u></span>
|  above    = <span style="color: white; font-weight: bold;"><u><big>{{{Username}}}</big></u></span>
|  image    = {{#if: {{{Avatar|}}}|[[File:{{{Avatar}}}|center]]|}}
|  label2    = W1K1:          |  data2 = {{#if: {{{UserLink|}}}|[[User:{{{UserLink}}}|<span style="color: white; font-weight: bold;">{{{Username}}}</span>]]| N/A}}
|  label3    = Forum:          |  data3 = [http://www.hackforums.net/member.php?action=profile&uid={{PAGENAMEE}} <span style="color: white; font-weight: bold;">Profile</span>]
|  label3    = Forum:          |  data3 = [http://www.hackforums.net/member.php?action=profile&uid={{PAGENAMEE}} <span style="color: white; font-weight: bold;">Profile</span>]
|  label4    = Status:        |  data4 = {{{Status}}}
|  label4    = Status:        |  data4 = {{{Status}}}
Line 140: Line 139:
| text          = True
| text          = True
}}|N/A}}}}
}}|N/A}}}}
<includeonly>{{DEFAULTSORTKEY:{{{Username}}}}}[[Category:HF Members]]{{#switch:{{{Status|}}}|Closed=[[Category:Closed Members]]|Deleted=[[Category:Deleted Members]]|Banned=[[Category:Banned Members]]}}</includeonly>
{{DEFAULTSORTKEY:{{{Username}}}}}[[Category:HF Members]]{{#switch:{{{Status|}}}|Closed=[[Category:Closed Members]]|Deleted=[[Category:Deleted Members]]|Banned=[[Category:Banned Members]]}}
</includeonly>
<!--END CODE, BEGIN DOCUMENTATION -->
<!--END CODE, BEGIN DOCUMENTATION -->
<!--END CODE, BEGIN DOCUMENTATION -->
<noinclude>
<noinclude>
This template is to be used on pages in the Member: namespace. Do not use this template on any other page.
This template is to be used on pages in the Member: namespace. Do not use this template on any other page.
==Documentation==
===Username===
This is the current username of the Hack Forums user in question.
===UserID===
This is the UserID of the Hack Forums user in question. This will never change, except if the user was merged with another user.
===JoinDate===
The Join Date of the user (date only, time not necessary) in question.
===Status===
The Status of the user. Possible arguments are ''Active'', ''Inactive'', ''Banned'', and ''Closed''.
===IsStaff===
If the user ''is or was'' a Staff member at any point in time, this must be given an argument of ''<nowiki><protect>True</protect></nowiki>''. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.
===IsAdmin===
If the user ''is or was'' an Administrator at any point in time, this must be given an argument of ''<nowiki><protect>True</protect></nowiki>''. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.
===IsMentor===
If the user ''is or was'' a Mentor at any point in time, this must be given an argument of ''<nowiki><protect>True</protect></nowiki>''. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.
===IsMentor===
If the user ''is or was'' a Moderator at any point in time, this must be given an argument of ''<nowiki><protect>True</protect></nowiki>''. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.
====Biography vs History====
Biography is meant to be written like a legitimate article. History is just meant to be brief bullet points that covers the user's history in a TL;DR format while not skimping out on anything.
===Biography===
A biography of the user; what do they come to HF for? What are they involved in?
===History===
Bullet point timeline of their history on HF; significant events, groups they were involved in, etc.
===PersonComm===
If the user themselves would like to say anything, they can do so here.
===AwardName''N''===
Where ''N'' is a number from 1 to (and including) 30
Here, up to thirty of a user's awards can be specified. They will be displayed in two places: in the right-hand profile box that visually displays the awards, and in the user's navigation box that lists them in text format.
===GroupName''N''===
Where ''N'' is a number from 1 to (and including) 15


For the IsModerator, IsStaff, etc. arguments, you do not need to set them to false every time. You only need to set it to True if the condition is correct (if the member is or was staff, add True wrapped by protect tags. This way, only authorized members will be allowed to change staff/moderator statuses).  
Here, up to fifteen of a user's groups can be specified. They will be displayed in two places: in the right-hand profile box that visually displays the awards, and in the user's navigation box that lists them in text format.


You can find example usage of this template below.
===Alias''N''===
Where ''N'' is a number from 1 to (and including) 5


Here, up to five of a user's notable aliases are included in their user box on the right hand side.
<pre>
<pre>
{{MemberBox
{{MemberBox
| Username    = Username
| Username    = Username
| Avatar      = Avatar.png
| Avatar      = Avatar.png
| UserLink    = Leave Blank / UID / Username
| UserID      = Leave Blank / UID / Username
| JoinDate    = MM-DD-YYYY
| JoinDate    = MM-DD-YYYY
| Status      = Active / Inactive
| Status      = Active / Inactive
Line 159: Line 209:
| NotabInvolv = <!-- Leave blank if nothing has been written -->
| NotabInvolv = <!-- Leave blank if nothing has been written -->
| PersonComm  = <!-- Leave blank if nothing has been written -->
| PersonComm  = <!-- Leave blank if nothing has been written -->
| Alias1=
| Alias1=
| Alias2=  
| Alias2=  

Revision as of 18:05, 9 July 2015


This template is to be used on pages in the Member: namespace. Do not use this template on any other page.

Documentation

Username

This is the current username of the Hack Forums user in question.

UserID

This is the UserID of the Hack Forums user in question. This will never change, except if the user was merged with another user.

JoinDate

The Join Date of the user (date only, time not necessary) in question.

Status

The Status of the user. Possible arguments are Active, Inactive, Banned, and Closed.

IsStaff

If the user is or was a Staff member at any point in time, this must be given an argument of <protect>True</protect>. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.

IsAdmin

If the user is or was an Administrator at any point in time, this must be given an argument of <protect>True</protect>. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.

IsMentor

If the user is or was a Mentor at any point in time, this must be given an argument of <protect>True</protect>. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.

IsMentor

If the user is or was a Moderator at any point in time, this must be given an argument of <protect>True</protect>. No other argument will be accepted; thus, it can only be added by someone of appropriate abilities.

Biography vs History

Biography is meant to be written like a legitimate article. History is just meant to be brief bullet points that covers the user's history in a TL;DR format while not skimping out on anything.

Biography

A biography of the user; what do they come to HF for? What are they involved in?

History

Bullet point timeline of their history on HF; significant events, groups they were involved in, etc.

PersonComm

If the user themselves would like to say anything, they can do so here.

AwardNameN

Where N is a number from 1 to (and including) 30

Here, up to thirty of a user's awards can be specified. They will be displayed in two places: in the right-hand profile box that visually displays the awards, and in the user's navigation box that lists them in text format.

GroupNameN

Where N is a number from 1 to (and including) 15

Here, up to fifteen of a user's groups can be specified. They will be displayed in two places: in the right-hand profile box that visually displays the awards, and in the user's navigation box that lists them in text format.

AliasN

Where N is a number from 1 to (and including) 5

Here, up to five of a user's notable aliases are included in their user box on the right hand side.

{{MemberBox
| Username    = Username
| Avatar      = Avatar.png
| UserID      = Leave Blank / UID / Username
| JoinDate    = MM-DD-YYYY
| Status      = Active / Inactive
| Biography   = <!-- Leave blank if nothing has been written -->
| History     = <!-- Leave blank if nothing has been written -->
| NotabInvolv = <!-- Leave blank if nothing has been written -->
| PersonComm  = <!-- Leave blank if nothing has been written -->
| Alias1=
| Alias2= 
| Alias3= 
| Alias4= 
| AwardName1= <!--Leave Blank / Sapphire of Ub3r / Support Feather / etc.-->
| AwardName2= 
| AwardName3= 
| GroupName1= <!--Leave Blank / L33t / Ub3r / etc.-->
| GroupName2= 
| GroupName3= 
| GroupName4= 
}}