Template:PlayerProfile: Difference between revisions

From aquila
Jump to navigation Jump to search
mNo edit summary
No edit summary
Tag: Manual revert
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="background: #ffffff; border: 1px solid #d1d5db; border-radius: 8px; padding: 1.5em; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 2em;">
<includeonly>__NOTITLE__
<div class="aquila-player-card">


<!-- Top Header / Player Name -->
<!-- Top Header / Player Name -->
Line 5: Line 6:


<!-- Split Flex Container -->
<!-- Split Flex Container -->
<div style="display: flex; flex-wrap: wrap; gap: 2em; align-items: flex-start; margin-top: 1.2em;">
<div style="display: flex; flex-wrap: wrap; gap: 1.5em; align-items: stretch; margin-top: 1.2em;">


<!-- Left Column: Player Info Stats Table -->
<!-- Left Column: Player Info Stats Table -->
<div style="flex: 1; min-width: 280px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0.8em; font-size: 0.95em; line-height: 1.5; color: #374151;">
<div class="aquila-player-box" style="flex: 1; min-width: 280px; font-size: 0.95em; line-height: 1.5; color: #374151;">


<table style="width: 100%; border-collapse: collapse;">
<table style="width: 100%; border-collapse: collapse;">
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; width: 45%; border-bottom: 1px solid #e2e8f0;">IGN</td>
   <td style="padding: 0.35em 0.5em; font-weight: bold; width: 45%; border-bottom: 1px solid #e2e8f0;">IGN</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{IGN}}}</td>
   <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{IGN|}}} | <span class="plainlinks aquila-namemc-link">[https://namemc.com/search?q={{{IGN}}} {{{IGN}}}]</span> | <span style="color: #c53030; font-weight: bold;">[Missing IGN]</span> }}</td>
</tr>
</tr>
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">UID</td>
   <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">UID</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;"><span style="font-family: monospace; font-size: 0.9em;">{{{UID}}}</span></td>
   <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;"><span style="font-family: monospace; font-size: 0.9em;">{{{UID|TBA}}}</span></td>
</tr>
</tr>
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Primary Character</td>
   <td style="padding: 0.35em 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.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{PrimaryCharacter|}}} | '''[[{{{PrimaryCharacter}}}]]''' | none currently }}</td>
</tr>
</tr>
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Secondary Character</td>
   <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">{{#if: {{{PrimaryNation2|}}} | Primary Nations | Primary Nation }}</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{SecondaryCharacter|}}} | '''[[{{{SecondaryCharacter}}}]]''' | none currently }}</td>
   <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{PrimaryNation|}}} | '''[[{{{PrimaryNation}}}]]'''{{#if: {{{PrimaryNation2|}}} | &nbsp;&amp;&nbsp;'''[[{{{PrimaryNation2}}}]]''' | }} | none currently }}</td>
</tr>
</tr>
{{#if: {{{SecondaryCharacter|}}} |
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Current Nation</td>
   <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Secondary Character</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">'''[[{{{CurrentNation}}}]]'''</td>
   <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">'''[[{{{SecondaryCharacter}}}]]'''</td>
</tr>
</tr>
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Previous Nations</td>
   <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">{{#if: {{{SecondaryNation2|}}} | Secondary Nations | Secondary Nation }}</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{PreviousNations|none currently}}}</td>
   <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{SecondaryNation|}}} | '''[[{{{SecondaryNation}}}]]'''{{#if: {{{SecondaryNation2|}}} | &nbsp;&amp;&nbsp;'''[[{{{SecondaryNation2}}}]]''' | }} | none currently }}</td>
</tr>
</tr>
|}}
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Previous Characters</td>
   <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Previous Nations</td>
   <td style="padding: 0.3em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{PreviousCharacters|none currently}}}</td>
   <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{PreviousNations|none currently}}}</td>
</tr>
</tr>
<tr>
<tr>
   <td style="padding: 0.3em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Joined</td>
   <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Previous Characters</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.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{{PreviousCharacters|none currently}}}</td>
</tr>
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">Date Joined</td>
  <td style="padding: 0.35em 0.5em; border-bottom: 1px solid #e2e8f0;"><span style="font-family: monospace; font-size: 0.9em;">{{#if: {{{DateJoined|}}} | {{#time: d/m/Y | {{{DateJoined}}} }} {{#iferror: ({{#expr: floor( ({{#time: U}} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days ago) | }} | TBA }}</span></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.35em 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.35em 0.5em; border-bottom: 1px solid #e2e8f0;"><span style="font-family: monospace; font-size: 0.9em;">{{#time: d/m/Y | {{{DateLeft}}} }} {{#iferror: (active for {{#expr: floor( ({{#time: U | {{{DateLeft}}} }} - {{#time: U | {{{DateJoined}}} }}) / 86400 )}} days) | }}</span></td>
</tr>
|}}
{{#if: {{{ReasonForDelisting|}}} |
<tr>
  <td style="padding: 0.35em 0.5em; font-weight: bold;">Reason for Delisting</td>
  <td style="padding: 0.35em 0.5em;">{{{ReasonForDelisting}}}</td>
</tr>
</tr>
|}}
|}}
Line 54: Line 67:


<!-- Right Column: Biography / Intro -->
<!-- Right Column: Biography / Intro -->
<div style="flex: 1.5; min-width: 280px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 1.2em; display: flex; flex-direction: column; justify-content: center; color: #4b5563; line-height: 1.6;">
<div class="aquila-player-box" style="flex: 1.5; min-width: 280px; display: flex; flex-direction: column; justify-content: center; color: #4b5563; line-height: 1.6;">
{{{Bio|This player has not written a bio yet.}}}
{{{Bio|This player has not written a bio yet.}}}
</div>
</div>
Line 67: Line 80:
== Player Profile Template ==
== Player Profile Template ==
This template displays structured player information split into a technical stats table on the left and a bio on the right.
This template displays structured player information split into a technical stats table on the left and a bio on the right.
== Usage ==
Copy and paste this clean code snippet straight onto player profiles:
<pre>
{{Player Profile
| Name              =
| IGN                =
| UID                =
| Active            = yes
| DateJoined        = 2026-07-28
| PrimaryCharacter  =
| PrimaryNation      =
| PrimaryNation2    =
| SecondaryCharacter =
| SecondaryNation    =
| SecondaryNation2  =
| PreviousNations    = none currently
| PreviousCharacters = none currently
| DateLeft          =
| ReasonForDelisting =
| Bio                =
}}
</pre>


== TemplateData ==
== TemplateData ==
Line 79: Line 115:
"required": false,
"required": false,
"suggested": true
"suggested": true
},
"Active": {
"label": "Active Status",
"description": "Type 'yes' for current players (Players category) or 'no' for former players (Former Players category).",
"type": "string",
"default": "yes",
"required": true,
"suggestedvalues": [
"yes",
"no"
]
},
},
"Name": {
"Name": {
Line 84: Line 131:
"description": "Display name at the top. Defaults to the page title.",
"description": "Display name at the top. Defaults to the page title.",
"type": "string",
"type": "string",
"required": false
"required": true
},
},
"IGN": {
"IGN": {
"label": "In-Game Name (IGN)",
"label": "In-Game Name (IGN)",
"description": "The player's Minecraft username.",
"description": "The player's Minecraft username. Automatically links to NameMC search query.",
"type": "string",
"type": "string",
"required": true
"required": true
Line 97: Line 144:
"type": "number",
"type": "number",
"required": true
"required": true
},
"DateJoined": {
"label": "Date 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",
"required": true
},
"DateLeft": {
"label": "Date Left",
"description": "The date the player left, if applicable. Must be in YYYY-MM-DD format.",
"type": "string",
"required": false,
"suggested": false
},
"ReasonForDelisting": {
"label": "Reason for Delisting",
"description": "Optional explanation for why the player left or was delisted (only shows if filled).",
"type": "string",
"required": false,
"suggested": false
},
},
"PrimaryCharacter": {
"PrimaryCharacter": {
Line 102: Line 169:
"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).",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"required": true,
"suggested": true
},
"PrimaryNation": {
"label": "Primary Nation / Nations",
"description": "Primary nation for the main character. Label automatically changes to 'Primary Nations' if PrimaryNation2 is filled.",
"type": "wiki-page-name",
"required": true,
"suggested": true
},
"PrimaryNation2": {
"label": "Primary Nation 2 (Optional Dual Citizenship)",
"description": "Optional second primary nation. Appends with an ampersand if filled.",
"type": "wiki-page-name",
"required": false,
"suggested": true
},
},
"SecondaryCharacter": {
"SecondaryCharacter": {
"label": "Secondary Character",
"label": "Secondary Character (Optional)",
"description": "Name of secondary character page, or leaves blank for none currently (auto-linked and bolded).",
"description": "Name of secondary character page. Stays hidden if left blank.",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": false
"required": false,
"suggested": true
},
"SecondaryNation": {
"label": "Secondary Nation",
"description": "Nation for the secondary character (only displays if SecondaryCharacter is filled).",
"type": "wiki-page-name",
"required": false,
"suggested": true
},
},
"CurrentNation": {
"SecondaryNation2": {
"label": "Current Nation",
"label": "Secondary Nation 2 (Optional Dual Citizenship)",
"description": "The nation the player currently belongs to (auto-linked and bolded).",
"description": "Optional second nation for the secondary character. Appends with an ampersand if filled.",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"required": false,
"suggested": true
},
},
"PreviousNations": {
"PreviousNations": {
Line 120: Line 211:
"description": "Past nations the player was part of.",
"description": "Past nations the player was part of.",
"type": "string",
"type": "string",
"required": false
"required": false,
"suggested": true
},
},
"PreviousCharacters": {
"PreviousCharacters": {
Line 126: Line 218:
"description": "Past characters played by this user.",
"description": "Past characters played by this user.",
"type": "string",
"type": "string",
"required": false
},
"DateJoined": {
"label": "Date Joined",
"description": "The date the player joined. Must be written strictly in DD/MM/YY format (e.g., 28/07/26).",
"type": "string",
"required": true
},
"DateLeft": {
"label": "Date Left",
"description": "The date the player left, if applicable. Must be in DD/MM/YY format.",
"type": "string",
"required": false
},
"Active": {
"label": "Active Status",
"description": "Type 'yes' for current players (Players category) or 'no' for former players (Former Players category).",
"type": "string",
"default": "yes",
"required": false,
"required": false,
"suggestedvalues": [
"suggested": true
"yes",
"no"
]
}
}
}
}

Latest revision as of 19:52, 17 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.

Usage

Copy and paste this clean code snippet straight onto player profiles:

{{Player Profile
| Name               = 
| IGN                = 
| UID                = 
| Active             = yes
| DateJoined         = 2026-07-28
| PrimaryCharacter   = 
| PrimaryNation      = 
| PrimaryNation2     = 
| SecondaryCharacter = 
| SecondaryNation    = 
| SecondaryNation2   = 
| PreviousNations    = none currently
| PreviousCharacters = none currently
| DateLeft           = 
| ReasonForDelisting = 
| Bio                = 
}}

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
Active StatusActive

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

Suggested values
yes no
Default
yes
Stringrequired
Player NameName

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

Stringrequired
In-Game Name (IGN)IGN

The player's Minecraft username. Automatically links to NameMC search query.

Stringrequired
User ID (UID)UID

The player's unique ID number.

Numberrequired
Date JoinedDateJoined

The date the player joined. Input in YYYY-MM-DD format (e.g., 2026-10-01), will automatically display as DD/MM/YYYY.

Stringrequired
Date LeftDateLeft

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

Stringoptional
Reason for DelistingReasonForDelisting

Optional explanation for why the player left or was delisted (only shows if filled).

Stringoptional
Primary CharacterPrimaryCharacter

Name of the player's primary character page (auto-linked and bolded).

Page namerequired
Primary Nation / NationsPrimaryNation

Primary nation for the main character. Label automatically changes to 'Primary Nations' if PrimaryNation2 is filled.

Page namerequired
Primary Nation 2 (Optional Dual Citizenship)PrimaryNation2

Optional second primary nation. Appends with an ampersand if filled.

Page namesuggested
Secondary Character (Optional)SecondaryCharacter

Name of secondary character page. Stays hidden if left blank.

Page namesuggested
Secondary NationSecondaryNation

Nation for the secondary character (only displays if SecondaryCharacter is filled).

Page namesuggested
Secondary Nation 2 (Optional Dual Citizenship)SecondaryNation2

Optional second nation for the secondary character. Appends with an ampersand if filled.

Page namesuggested
Previous NationsPreviousNations

Past nations the player was part of.

Stringsuggested
Previous CharactersPreviousCharacters

Past characters played by this user.

Stringsuggested