|
|
| Line 14: |
Line 14: |
| <tr> | | <tr> |
| <td style="padding: 0.35em 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.35em 0.5em; border-bottom: 1px solid #e2e8f0;">{{#if: {{{IGN|}}} | <span class="aquila-namemc-link">[https://namemc.com/profile/{{{IGN}}}.1 {{{IGN}}}]</span> | <span style="color: #c53030; font-weight: bold;">[Missing IGN]</span> }}</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> |
| Line 53: |
Line 53: |
| <tr> | | <tr> |
| <td style="padding: 0.35em 0.5em; font-weight: bold; border-bottom: 1px solid #e2e8f0;">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.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> | | <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 | {{{ |
| </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>
| |
| |}}
| |
| </table>
| |
| | |
| </div>
| |
| | |
| <!-- Right Column: Biography / Intro -->
| |
| <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.}}}
| |
| </div>
| |
| | |
| </div>
| |
| | |
| </div>
| |
| | |
| <!-- Automatic Category Assignment based on active status -->
| |
| {{#ifeq:{{lc:{{{Active|yes}}}}}|yes|[[Category:Players]]|[[Category:Former Players]]}}</includeonly><noinclude>
| |
| | |
| == 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:
| |
| <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>
| |
| {
| |
| "description": "Project Aquila's official Player Profile template.",
| |
| "params": {
| |
| "Bio": {
| |
| "label": "Biography / Intro",
| |
| "description": "The personal introduction text for the right-hand box.",
| |
| "type": "string",
| |
| "required": false,
| |
| "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": {
| |
| "label": "Player Name",
| |
| "description": "Display name at the top. Defaults to the page title.",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "IGN": {
| |
| "label": "In-Game Name (IGN)",
| |
| "description": "The player's Minecraft username. Automatically links to NameMC profile.",
| |
| "type": "string",
| |
| "required": true
| |
| },
| |
| "UID": {
| |
| "label": "User ID (UID)",
| |
| "description": "The player's unique ID number.",
| |
| "type": "number",
| |
| "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": {
| |
| "label": "Primary Character",
| |
| "description": "Name of the player's primary character page (auto-linked and bolded).",
| |
| "type": "wiki-page-name",
| |
| "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": {
| |
| "label": "Secondary Character (Optional)",
| |
| "description": "Name of secondary character page. Stays hidden if left blank.",
| |
| "type": "wiki-page-name",
| |
| "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
| |
| },
| |
| "SecondaryNation2": {
| |
| "label": "Secondary Nation 2 (Optional Dual Citizenship)",
| |
| "description": "Optional second nation for the secondary character. Appends with an ampersand if filled.",
| |
| "type": "wiki-page-name",
| |
| "required": false,
| |
| "suggested": true
| |
| },
| |
| "PreviousNations": {
| |
| "label": "Previous Nations",
| |
| "description": "Past nations the player was part of.",
| |
| "type": "string",
| |
| "required": false,
| |
| "suggested": true
| |
| },
| |
| "PreviousCharacters": {
| |
| "label": "Previous Characters",
| |
| "description": "Past characters played by this user.",
| |
| "type": "string",
| |
| "required": false,
| |
| "suggested": true
| |
| }
| |
| }
| |
| }
| |
| </templatedata>
| |
| </noinclude>
| |