Template:PlayerProfile: Difference between revisions
No edit summary |
No edit summary |
||
| Line 41: | Line 41: | ||
<tr> | <tr> | ||
<td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Joined</td> | <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Joined</td> | ||
<td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{DateJoined}}} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days ago) | }}</td> | <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{DateJoined|}}} | {{#time: d/m/Y | {{{DateJoined}}} }} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days ago) | }} | TBA }}</td> | ||
</tr> | </tr> | ||
{{#if: {{{DateLeft|}}} | | {{#if: {{{DateLeft|}}} | | ||
<tr> | <tr> | ||
<td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Left</td> | <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Left</td> | ||
<td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{DateLeft}}} {{#iferror: (active for {{#expr: floor( ({{#time: U | {{{DateLeft}}} }} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days) | }}</td> | <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#time: d/m/Y | {{{DateLeft}}} }} {{#iferror: (active for {{#expr: floor( ({{#time: U | {{{DateLeft}}} }} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days) | }}</td> | ||
</tr> | </tr> | ||
|}} | |}} | ||
| Line 130: | Line 130: | ||
"DateJoined": { | "DateJoined": { | ||
"label": "Date Joined", | "label": "Date Joined", | ||
"description": "The date the player joined. | "description": "The date the player joined. Input in YYYY-MM-DD format (e.g., 2026-10-01), will automatically display as DD/MM/YYYY.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
| Line 136: | Line 136: | ||
"DateLeft": { | "DateLeft": { | ||
"label": "Date Left", | "label": "Date Left", | ||
"description": "The date the player left, if applicable. | "description": "The date the player left, if applicable. Input in YYYY-MM-DD format.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
Revision as of 10:59, 4 October 2026
Player Profile Template
This template displays structured player information split into a technical stats table on the left and a bio on the right.
TemplateData
Project Aquila's official Player Profile template.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Biography / Intro | Bio | The personal introduction text for the right-hand box. | String | suggested |
| Player Name | Name | Display name at the top. Defaults to the page title. | String | optional |
| In-Game Name (IGN) | IGN | The player's Minecraft username. | String | required |
| User ID (UID) | UID | The player's unique ID number. | Number | required |
| Primary Character | PrimaryCharacter | Name of the player's primary character page (auto-linked and bolded). Leave blank to display 'none currently'. | Page name | optional |
| Secondary Character | SecondaryCharacter | Name of secondary character page, or leaves blank for none currently (auto-linked and bolded). | Page name | optional |
| Current Nation | CurrentNation | The nation the player currently belongs to (auto-linked and bolded). Leave blank to display 'none currently'. | Page name | optional |
| Previous Nations | PreviousNations | Past nations the player was part of. | String | optional |
| Previous Characters | PreviousCharacters | Past characters played by this user. | String | optional |
| Date Joined | DateJoined | The date the player joined. Input in YYYY-MM-DD format (e.g., 2026-10-01), will automatically display as DD/MM/YYYY. | String | required |
| Date Left | DateLeft | The date the player left, if applicable. Input in YYYY-MM-DD format. | String | optional |
| Active Status | Active | Type 'yes' for current players (Players category) or 'no' for former players (Former Players category).
| String | optional |