Template:Infobox class: Difference between revisions
Appearance
Created page with "{{documentation}} {{Infobox | above = {{{name|}}} | abovestyle = background-color: #2c2c2c; color: #ffffff; font-size: 125%; font-weight: bold; padding: 0.5em; | image = {{#if:{{{image|}}}|[[File:{{{image}}}|250px|center]]}} | caption = {{{caption|}}} | captionstyle = font-style: italic; text-align: center; padding: 0.3em; | headerstyle = background-color: #3a3a3a; color: #ffffff; text-align: left; padding: 0.2em; | labelstyle = background-color: #f0f0..." |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{ | {| class="infobox" style="width: 280px; font-size: 90%; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9; color: black; line-height: 1.5em;" | ||
|- | |||
| | ! colspan="2" style="background-color: #2c2c2c; color: #ffffff; font-size: 125%; font-weight: bold; padding: 0.5em; text-align: center;" | {{{name|{{PAGENAME}}}}} | ||
|- | |||
| | {{#if:{{{image|}}}| | ||
{{!}} colspan="2" style="text-align: center; padding: 0.5em;" {{!}} [[File:{{{image}}}|250px|center]] | |||
{{!}}- | |||
}} | |||
{{#if:{{{caption|}}}| | |||
| | {{!}} colspan="2" style="font-style: italic; text-align: center; padding: 0.3em;" {{!}} {{{caption}}} | ||
{{!}}- | |||
}} | |||
! colspan="2" style="background-color: #3a3a3a; color: #ffffff; text-align: center; padding: 0.2em;" | Class Information | |||
|- | |||
{{#if:{{{type|}}}| | |||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} Type | |||
{{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{type}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{weapons|}}}| | |||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} Weapons | |||
{{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{weapons}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{armor|}}}| | |||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} Armor | |||
| | {{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{armor}}} | ||
{{!}}- | |||
}} | |||
| | {{#if:{{{resource|}}}| | ||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} Resource | |||
{{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{resource}}} | |||
| | {{!}}- | ||
}} | |||
{{#if:{{{role|}}}| | |||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} Role | |||
{{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{role}}} | |||
{{!}}- | |||
| | }} | ||
{{#if:{{{playstyle|}}}| | |||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} Playstyle | |||
{{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{playstyle}}} | |||
{{!}}- | |||
| | }} | ||
| | {{#if:{{{difficulty|}}}| | ||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} Difficulty | |||
| | {{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{difficulty}}} | ||
{{!}}- | |||
}} | |||
! colspan="2" style="background-color: #3a3a3a; color: #ffffff; text-align: center; padding: 0.2em;" | Development | |||
|- | |||
{{#if:{{{first_playable|}}}| | |||
! style="background-color: #f0f0f0; width: 40%; padding: 0.2em; vertical-align: top;" {{!}} First Playable | |||
{{!}} style="padding: 0.2em; vertical-align: top;" {{!}} {{{first_playable}}} | |||
{{!}}- | |||
}} | }} | ||
|} | |||
<noinclude> | <noinclude> | ||
==Template documentation== | ==Template documentation== | ||
| Line 166: | Line 170: | ||
* For '''first_playable''', include specific dates when known, or "TBA" if not yet announced | * For '''first_playable''', include specific dates when known, or "TBA" if not yet announced | ||
* Use non-breaking spaces (<code> </code>) in dates and paired items to prevent awkward line breaks | * Use non-breaking spaces (<code> </code>) in dates and paired items to prevent awkward line breaks | ||
* The template will use the page name as the class name if the '''name''' parameter is not provided | |||
===See also=== | ===See also=== | ||
* [[Chrono Odyssey]] | * [[Chrono Odyssey]] | ||
* [[Classes]] | * [[Classes]] | ||
Latest revision as of 10:06, 11 June 2025
| Infobox class | |
|---|---|
| Class Information | |
| Development |
Template documentation
This template is used to create standardized infoboxes for classes in Chrono Odyssey.
Usage
Copy and paste the following code into a class article, then fill in the parameters:
{{Infobox class
|name =
|image =
|caption =
|game = [[Chrono Odyssey]]
|type =
|weapons =
|armor =
|resource =
|role =
|playstyle =
|difficulty =
|engine = [[Unreal Engine 5]]
|developer = [[Chrono Studio]] ([[NPIXEL]])
|publisher = [[Kakao Games]]
|first_playable =
}}
Parameters
All parameters are optional, but it's recommended to fill in as many as possible.
| Parameter | Description | Example |
|---|---|---|
| name | The name of the class | Swordsman |
| image | The filename of the class icon or image (without File: prefix) | Swordsman_Icon.png |
| caption | A short descriptive caption for the class | Radiant Blade Heralding the Void's Doom |
| game | The game this class appears in (defaults to Chrono Odyssey) | Chrono Odyssey |
| type | The general classification of the class | Melee Fighter / Tank / DPS |
| weapons | The weapons available to this class. Use to separate multiple weapons |
Greatsword Dual Blades Sword & Shield |
| armor | The armor type(s) this class can wear | Medium/Heavy Armor |
| resource | The resource system used by this class | Rage |
| role | The primary role(s) this class fills | Versatile Warrior |
| playstyle | Brief description of the class's playstyle | Balanced Melee Combat |
| difficulty | The difficulty rating for playing this class | Moderate |
| engine | The game engine (defaults to Unreal Engine 5) | Unreal Engine 5 |
| developer | The game developer (defaults to Chrono Studio (NPIXEL)) | Chrono Studio (NPIXEL) |
| publisher | The game publisher (defaults to Kakao Games) | Kakao Games |
| first_playable | When the class was/will be first playable | Closed Beta #1 (June 20-22, 2025) |
Weapon formatting
For the weapons parameter, use the following format:
- For single weapon types:
Weapon Name - For multiple weapons:
Weapon 1
Weapon 2
Weapon 3 - For paired weapons:
Weapon & Shield(use non-breaking spaces)
Examples
Basic usage
{{Infobox class
|name = Ranger
|image = Ranger_Icon.png
|caption = Master of Ranged Combat
|type = Ranged DPS / Mobile Fighter
|weapons = Bow<br/>Crossbow<br/>Rapier
|armor = Light/Medium Armor
|resource = [[Vigor]]
|role = Ranged Damage Dealer
|playstyle = Hit-and-Run Ranged Combat
|difficulty = Moderate-High
}}
Complete usage
{{Infobox class
|name = Paladin
|image = Paladin_Icon.png
|caption = Holy Guardian of the Battlefield
|game = [[Chrono Odyssey]]
|type = Tank/Support/Melee DPS
|weapons = Mace & Tower Shield<br/>Lance<br/>Halberd
|armor = Heavy Armor
|resource = [[Mana]]
|role = Tank/Support/Damage Dealer
|playstyle = Defensive Combat with Holy Powers
|difficulty = Beginner-Friendly (Easy-Moderate)
|engine = [[Unreal Engine 5]]
|developer = [[Chrono Studio]] ([[NPIXEL]])
|publisher = [[Kakao Games]]
|first_playable = Closed Beta #2 (TBA) - Not available in CBT #1
}}
Notes
- The type parameter should reflect the class's general combat style and role flexibility
- The difficulty parameter can include descriptive terms like "Beginner-Friendly" or specific ratings
- For first_playable, include specific dates when known, or "TBA" if not yet announced
- Use non-breaking spaces (
) in dates and paired items to prevent awkward line breaks - The template will use the page name as the class name if the name parameter is not provided