Template:Player: Difference between revisions

From TNTable
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:{{{playerSkin}}}|thumb|
[[File:{{{playerSkin}}}|thumb|
{| style="width: 100%; margin: auto; text-align: left;"
{| style="width: 100%; margin: auto; text-align: left;"
!colspan="2" style="text-align:center; background-color: #C6C6C6;" | '''{{{mcUsername}}}'''
{{Table Header| {{{mcUsername}}} }}
|-
|-
| '''Member Since'''
| '''Member Since'''
| {{{yearJoined}}}
| {{{yearJoined}}}
|-
|-
{{#if: |
{{#if: {{{affiliations|}}} |
| '''Affiliations'''
{{!}} '''Affiliations'''
| {{{affiliations}}}
{{!}} {{{affiliations}}}
|-
{{!}}- }}
}}
| '''Active'''
| '''Active'''
| {{{playerActive}}}
| {{{playerActive}}}
|}
|}
]]
]]
{{{playerName}}} is a player {{{playerGroup|}}} on the server under the username {{{mcUsername}}}. {{{playerName}}} is notable for {{{serverActivities}}}.
{{{playerName}}} is a player {{#if: {{{isAdmin|}}} | and admin}} on the server under the username {{{mcUsername}}}. {{{playerName}}} is notable for {{{serverActivities}}}
 
<includeonly>
[[Category:Player]]
</includeonly>
 
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 37: Line 41:
"type": "string",
"type": "string",
"required": true
"required": true
},
"playerGroup": {
"label": "Any additional groups the player belongs to such as admins or other.",
"description": "Only to be used for admins at the moment.",
"example": "and admin",
"type": "string"
},
},
"serverActivities": {
"serverActivities": {
"label": "Briefly describe traits of their server life",
"label": "Server Legacy",
"description": "Make mentions to what the player is known for on the server, but be nice. Do not include punctuation.",
"description": "Make mentions to what the player is known for on the server, but be nice. Be sure to include punctuation.",
"type": "string",
"type": "string",
"required": true,
"example": "Finish the sentence: \"Player is notable for...\""
},
"yearJoined": {
"label": "Year Joined",
"description": "Year that the player joined the server.",
"type": "number",
"required": true
"required": true
},
},
"yearJoined": {},
"affiliations": {
"affiliations": {
"label": "Affiliations",
"label": "Affiliations",
"description": "List affiliations on the server and servers past.",
"description": "List affiliations on the server and servers past.",
"example": "Admin or [[Red Team]]",
"example": "Admin or Red Team",
"type": "string"
"type": "string",
"suggested": true
},
},
"playerActive": {
"playerActive": {
Line 63: Line 68:
"default": "Yes",
"default": "Yes",
"required": true
"required": true
},
"isAdmin": {
"label": "Player is Admin",
"description": "Put yes or a 1 here if the player is an admin on the server.",
"type": "boolean"
}
}
},
},
Line 73: Line 83:
"affiliations",
"affiliations",
"playerActive",
"playerActive",
"playerGroup",
"serverActivities",
"serverActivities"
"isAdmin"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 15:51, 18 September 2022

[[File:{{{playerSkin}}}|thumb|

{{{mcUsername}}}
Member Since {{{yearJoined}}}
Active {{{playerActive}}}

]] {{{playerName}}} is a player on the server under the username {{{mcUsername}}}. {{{playerName}}} is notable for {{{serverActivities}}}



This is the template for player pages on the wiki. It allows quick creation of new player pages with prompts for the most common information.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Name of the PlayerplayerName

Can be first name or username, whatever is preferred.

Stringrequired
Minecraft UsernamemcUsername

Enter the player's Minecraft username.

Stringrequired
Player Skin Image FileplayerSkin

Type the name of the image file for the player skin.

Filesuggested
Year JoinedyearJoined

Year that the player joined the server.

Numberrequired
Affiliationsaffiliations

List affiliations on the server and servers past.

Example
Admin or Red Team
Stringsuggested
ActiveplayerActive

Is the player active on the server still?

Default
Yes
Booleanrequired
Server LegacyserverActivities

Make mentions to what the player is known for on the server, but be nice. Be sure to include punctuation.

Example
Finish the sentence: "Player is notable for..."
Stringrequired
Player is AdminisAdmin

Put yes or a 1 here if the player is an admin on the server.

Booleanoptional