|
|
Line 1: |
Line 1: |
| <includeonly>
| |
| <!--
| |
| =====================================
| |
| Trait Infobox for Inzoi (Stylized)
| |
| =====================================
| |
| PARAMETERS:
| |
| | name = The displayed name of the trait (defaults to PAGENAME if omitted).
| |
| | icon = File name of the trait icon (e.g., "Expert.png").
| |
| | group = Parent category / personality group for the trait.
| |
| | type = Secondary classification or type (optional).
| |
| | release = Expansion/major release (optional).
| |
| | patch = Patch version (optional).
| |
| | description = Main description of the trait (in-game flavor).
| |
| | synergy = Related/synergistic traits (optional).
| |
| | notes = Additional notes, tips, or dev info (optional).
| |
| -->
| |
|
| |
| <!-- Handle expansions and patch categories -->
| |
| {{#switch:{{lc:{{{release|}}}}}
| |
| | heavensward = {{Heavensward expansion content}}
| |
| | stormblood = {{Stormblood expansion content}}
| |
| | shadowbringers = {{Shadowbringers expansion content}}
| |
| | endwalker = {{Endwalker expansion content}}
| |
| | dawntrail = {{Dawntrail expansion content}}
| |
| }}{{#if:{{{release|}}}||{{#switch:{{{patch|}}}
| |
| | 1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=
| |
| | #default=[[Category:Missing release]]
| |
| }}}}
| |
|
| |
| <!-- Start of the actual Infobox layout -->
| |
| <table class="infobox trait-infobox" style="border:1px solid #ccc; background:#f9f9f9; width:280px; margin:0 0 1em 1em; float:right;">
| |
| <!-- Header row (Trait Name) -->
| |
| <tr>
| |
| <th colspan="2" style="background:#cce; color:#000; padding:5px; font-size:120%; text-align:center;">
| |
| {{{name|{{#titleparts:{{PAGENAME}}}}}}}
| |
| </th>
| |
| </tr>
| |
|
| |
| <!-- Icon + Basic Info row -->
| |
| <tr>
| |
| <td style="width:60px; text-align:center; padding:5px;">
| |
| <!-- Icon (fallback if none) -->
| |
| {{#if: {{{icon|}}}
| |
| | [[File:{{{icon}}}|50px]]
| |
| | [[File:DefaultTraitIcon.png|50px]] <!-- fallback icon -->
| |
| }}
| |
| </td>
| |
| <td style="vertical-align:top; padding:5px; line-height:1.4;">
| |
| <!-- Group -->
| |
| {{#if: {{{group|}}}
| |
| | '''Group:''' {{{group}}}<br/>
| |
| }}
| |
| <!-- Type -->
| |
| {{#if: {{{type|}}}
| |
| | '''Type:''' {{{type}}}<br/>
| |
| }}
| |
| <!-- Release -->
| |
| {{#if: {{{release|}}}
| |
| | '''Release:''' {{{release}}}<br/>
| |
| }}
| |
| <!-- Patch -->
| |
| {{#if: {{{patch|}}}
| |
| | '''Patch:''' {{{patch}}}<br/>
| |
| }}
| |
| <!-- Synergy -->
| |
| {{#if: {{{synergy|}}}
| |
| | '''Synergy:''' {{{synergy}}}
| |
| }}
| |
| </td>
| |
| </tr>
| |
|
| |
| <!-- Description row -->
| |
| {{#if: {{{description|}}}
| |
| | <tr>
| |
| <td colspan="2" style="padding:8px;">
| |
| {{Quotation|game|{{{description}}}}}
| |
| </td>
| |
| </tr>
| |
| }}
| |
|
| |
| <!-- Notes row (optional) -->
| |
| {{#if: {{{notes|}}}
| |
| | <tr>
| |
| <td colspan="2" style="padding:8px; font-size:90%; font-style:italic;">
| |
| '''Notes:''' {{{notes}}}
| |
| </td>
| |
| </tr>
| |
| }}
| |
| </table>
| |
|
| |
| <!-- Auto-categorization by group (optional) -->
| |
| {{#if: {{{group|}}}
| |
| | [[Category:{{{group}}} Traits]]
| |
| }}
| |
|
| |
| </includeonly>
| |
| <noinclude> | | <noinclude> |
| == Usage ==
| | This template creates an infobox for Inzoi traits. |
| Use this template to place a styled infobox at the top-right of an Inzoi trait page.
| | |
| | **Parameters:** |
| | * **icon** – Filename for the trait’s icon (e.g. `Trait_Expert.png`) |
| | * **trait** – The trait’s name (e.g. `Expert`) |
| | * **personality** – The personality group (e.g. `Wise and Logical`) |
| | * **description** – A brief description of the trait |
|
| |
|
| === Basic Example ===
| | Usage example: |
| <pre>
| | |
| {{Trait infobox | | {{Trait infobox |
| | name = Expert | | | icon = Trait_Expert.png |
| | icon = Expert.png | | | trait = Expert |
| | group = Wise and Logical | | | personality = Wise and Logical |
| | type = Knowledge-Focused
| | | description = Pursues exceptional knowledge and skills, interested in theory, technology, and detailed exploration. |
| | release =
| | }} |
| | patch =
| | </noinclude> |
| | description = Pursues exceptional knowledge and skills... | |
| | synergy = Explorer
| |
| | notes = Especially helpful for R&D tasks.
| |
| }} | |
| </pre> | |
|
| |
|
| === Parameters === | | {| class="infobox" style="width:300px; font-size:90%; border:1px solid #aaa; background:#fff;" |
| ; name | | |- |
| : (Optional) Defaults to the page name if omitted. | | ! colspan="2" style="text-align:center; font-size:120%; background:#ccf; padding:4px;" | {{{trait}}} |
| ; icon | | |- |
| : (Optional) File name of the trait’s icon. If omitted, uses "DefaultTraitIcon.png". | | | style="text-align:center; vertical-align:middle; width:64px;" | [[File:{{{icon|Placeholder.png}}}|64px]] |
| ; group
| | | style="vertical-align:middle; padding:4px;" | <b>Personality:</b> {{{personality}}} |
| : (Optional) Main personality category (e.g., "Wise and Logical").
| | |- |
| ; type | | | colspan="2" style="background:#f8f8f8; padding:6px; border-top:1px solid #ddd;" | {{{description}}} |
| : (Optional) A sub-classification. | | |} |
| ; release | |
| : (Optional) Expansion or major update in which the trait was introduced. | |
| ; patch
| |
| : (Optional) Specific patch version. | |
| ; description | |
| : (Optional) Main descriptive text for the trait (displayed in a quote box). | |
| ; synergy | |
| : (Optional) Other traits or mechanics it pairs well with. | |
| ; notes | |
| : (Optional) Additional remarks or tips.
| |
| | |
| [[Category:Infobox templates|Trait infobox]] | |
| </noinclude> | |
This template creates an infobox for Inzoi traits.
- **icon** – Filename for the trait’s icon (e.g. `Trait_Expert.png`)
- **trait** – The trait’s name (e.g. `Expert`)
- **personality** – The personality group (e.g. `Wise and Logical`)
- **description** – A brief description of the trait
Usage example:
Expert
|
File:Trait Expert.png
|
Personality: Wise and Logical
|
Pursues exceptional knowledge and skills, interested in theory, technology, and detailed exploration.
|