Template:Player: Difference between revisions

From TNTable
No edit summary
No edit summary
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:{{{playerSkin}}}|thumb|
[[File:{{{playerSkin}}}|thumb|
{| class="wikitable" style="width: 100%;"
{| style="width: 100%; margin: auto; text-align: left;"
|+ '''{{{mcUsername}}}'''
{{Table Header| {{{mcUsername}}} }}
|-
|-
| '''Username'''
| '''Member Since'''
| Test name
| {{{yearJoined}}}
|-
|-
| Affiliations || {{{Affiliations}}}
{{#if: {{{affiliations|}}} |
|-
{{!}} '''Affiliations'''
| Player Template || is under construction
{{!}} {{{affiliations}}}
{{!}}- }}
| '''Active'''
| {{{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 34: Line 42:
"required": true
"required": true
},
},
"playerGroup": {
"serverActivities": {
"label": "Any additional groups the player belongs to such as admins or other.",
"label": "Server Legacy",
"description": "Only to be used for admins at the moment.",
"description": "Make mentions to what the player is known for on the server, but be nice. Be sure to include punctuation.",
"example": "and admin",
"type": "string",
"type": "string"
"required": true,
"example": "Finish the sentence: \"Player is notable for...\""
},
},
"serverActivities": {
"yearJoined": {
"label": "Briefly describe traits of their server life",
"label": "Year Joined",
"description": "Make mentions to what the player is known for on the server, but be nice. Do not include punctuation.",
"description": "Year that the player joined the server.",
"type": "number",
"required": true
},
"affiliations": {
"label": "Affiliations",
"description": "List affiliations on the server and servers past.",
"example": "Admin or Red Team",
"type": "string",
"type": "string",
"suggested": true
},
"playerActive": {
"label": "Active",
"description": "Is the player active on the server still?",
"type": "boolean",
"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 52: Line 80:
"mcUsername",
"mcUsername",
"playerSkin",
"playerSkin",
"playerGroup",
"yearJoined",
"serverActivities"
"affiliations",
"playerActive",
"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