Template:PlayerProfile: Difference between revisions

From aquila
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 21: Line 21:
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Primary Character</td>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Primary Character</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">'''[[{{{PrimaryCharacter}}}]]'''</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{PrimaryCharacter|}}} | '''[[{{{PrimaryCharacter}}}]]''' | none currently }}</td>
</tr>
</tr>
<tr>
<tr>
Line 29: Line 29:
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Current Nation</td>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Current Nation</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">'''[[{{{CurrentNation}}}]]'''</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{CurrentNation|}}} | '''[[{{{CurrentNation}}}]]''' | none currently }}</td>
</tr>
</tr>
<tr>
<tr>
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 | 20{{#titleparts:{{{DateJoined}}}|1|3}}-{{#titleparts:{{{DateJoined}}}|1|2}}-{{#titleparts:{{{DateJoined}}}|1|1}} }}) / 86400 )}} days ago) | }}</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>
</tr>
</tr>
{{#if: {{{DateLeft|}}} |
{{#if: {{{DateLeft|}}} |
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold;">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;">{{{DateLeft}}}</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>
</tr>
</tr>
|}}
|}}
Line 100: Line 100:
"PrimaryCharacter": {
"PrimaryCharacter": {
"label": "Primary Character",
"label": "Primary Character",
"description": "Name of the player's primary character page (auto-linked and bolded).",
"description": "Name of the player's primary character page (auto-linked and bolded). Leave blank to display 'none currently'.",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"required": false
},
},
"SecondaryCharacter": {
"SecondaryCharacter": {
Line 112: Line 112:
"CurrentNation": {
"CurrentNation": {
"label": "Current Nation",
"label": "Current Nation",
"description": "The nation the player currently belongs to (auto-linked and bolded).",
"description": "The nation the player currently belongs to (auto-linked and bolded). Leave blank to display 'none currently'.",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"required": false
},
},
"PreviousNations": {
"PreviousNations": {
Line 130: Line 130:
"DateJoined": {
"DateJoined": {
"label": "Date Joined",
"label": "Date Joined",
"description": "The date the player joined. Must be written strictly in DD/MM/YY format (e.g., 28/07/26).",
"description": "The date the player joined. Must be strictly in YYYY-MM-DD format (e.g., 2026-07-28).",
"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. Must be in DD/MM/YY format.",
"description": "The date the player left, if applicable. Must be in YYYY-MM-DD format.",
"type": "string",
"type": "string",
"required": false
"required": false

Revision as of 10:57, 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Biography / IntroBio

The personal introduction text for the right-hand box.

Stringsuggested
Player NameName

Display name at the top. Defaults to the page title.

Stringoptional
In-Game Name (IGN)IGN

The player's Minecraft username.

Stringrequired
User ID (UID)UID

The player's unique ID number.

Numberrequired
Primary CharacterPrimaryCharacter

Name of the player's primary character page (auto-linked and bolded). Leave blank to display 'none currently'.

Page nameoptional
Secondary CharacterSecondaryCharacter

Name of secondary character page, or leaves blank for none currently (auto-linked and bolded).

Page nameoptional
Current NationCurrentNation

The nation the player currently belongs to (auto-linked and bolded). Leave blank to display 'none currently'.

Page nameoptional
Previous NationsPreviousNations

Past nations the player was part of.

Stringoptional
Previous CharactersPreviousCharacters

Past characters played by this user.

Stringoptional
Date JoinedDateJoined

The date the player joined. Must be strictly in YYYY-MM-DD format (e.g., 2026-07-28).

Stringrequired
Date LeftDateLeft

The date the player left, if applicable. Must be in YYYY-MM-DD format.

Stringoptional
Active StatusActive

Type 'yes' for current players (Players category) or 'no' for former players (Former Players category).

Suggested values
yes no
Default
yes
Stringoptional