Template:Player: Difference between revisions
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| | ||
{| | {| style="width: 100%; margin: auto; text-align: left;" | ||
| | {{Table Header| {{{mcUsername}}} }} | ||
|- | |- | ||
| ''' | | '''Member Since''' | ||
| | | {{{yearJoined}}} | ||
|- | |- | ||
| Affiliations | {{#if: {{{affiliations|}}} | | ||
{{!}} '''Affiliations''' | |||
| | {{!}} {{{affiliations}}} | ||
{{!}}- }} | |||
| '''Active''' | |||
| {{{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 34: | Line 42: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "serverActivities": { | ||
"label": " | "label": "Server Legacy", | ||
"description": " | "description": "Make mentions to what the player is known for on the server, but be nice. Be sure to include punctuation.", | ||
" | "type": "string", | ||
" | "required": true, | ||
"example": "Finish the sentence: \"Player is notable for...\"" | |||
}, | }, | ||
" | "yearJoined": { | ||
"label": " | "label": "Year Joined", | ||
"description": " | "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", | ||
" | "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.
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 |