Template:Player: Difference between revisions
No edit summary |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:{{{playerSkin}}}|thumb| | [[File:{{{playerSkin}}}|thumb| | ||
{| style="width: 100%; margin: auto; | {| style="width: 100%; margin: auto; text-align: left;" | ||
{{Table Header| {{{mcUsername}}} }} | |||
|- | |- | ||
| '''Member Since''' | | '''Member Since''' | ||
| {{{yearJoined}}} | | {{{yearJoined}}} | ||
|- | |- | ||
{{#if: {{{affiliations}}} | {{#if: {{{affiliations|}}} | | ||
{{!}} '''Affiliations''' | |||
{{!}} {{{affiliations}}} | |||
{{!}}- }} | |||
| '''Active''' | | '''Active''' | ||
| {{{playerActive}}} | | {{{playerActive}}} | ||
|} | |} | ||
]] | ]] | ||
{{{playerName}}} is a player {{{ | {{{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 36: | Line 41: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"serverActivities": { | "serverActivities": { | ||
"label": " | "label": "Server Legacy", | ||
"description": "Make mentions to what the player is known for on the server, but be nice. | "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 | ||
}, | }, | ||
" | "affiliations": { | ||
"label": "Affiliations", | |||
"description": "List affiliations on the server and servers past.", | |||
"example": "Admin or Red Team", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"playerActive": { | "playerActive": { | ||
"label": "Active", | "label": "Active", | ||
Line 57: | 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 67: | Line 83: | ||
"affiliations", | "affiliations", | ||
"playerActive", | "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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name of the Player | playerName | Can be first name or username, whatever is preferred. | String | required |
Minecraft Username | mcUsername | Enter the player's Minecraft username. | String | required |
Player Skin Image File | playerSkin | Type the name of the image file for the player skin. | File | suggested |
Year Joined | yearJoined | Year that the player joined the server. | Number | required |
Affiliations | affiliations | List affiliations on the server and servers past.
| String | suggested |
Active | playerActive | Is the player active on the server still?
| Boolean | required |
Server Legacy | serverActivities | Make mentions to what the player is known for on the server, but be nice. Be sure to include punctuation.
| String | required |
Player is Admin | isAdmin | Put yes or a 1 here if the player is an admin on the server. | Boolean | optional |