Jump to content

Template:ClassInfobox

From ROIdle Wiki
Revision as of 15:14, 11 July 2025 by Mangusto (talk | contribs) (Created page with "<includeonly>{| class="wikitable" style="float:right; margin-left: 5%; margin-bottom: 5%;" ! style="text-align:center;" | {{{name}}} {{{image}}} |- | style="text-align:center;" | {{{portrait}}} |- | Max Level: {{{maxLevel|25}}} |- | Base HP/Level: {{{baseHp|5}}}<br>Variable HP/Level: {{{varHp|0.4}}}<br>Base MP/Level: {{{baseMp|1.5}}} |- | Unlocks from: {{{unlocksFrom|Starting Class}}} |- | Unlocks: {{{unlocksTo|}}} |- | style="text-align:center;" | __TOC__ |}</includeonl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template creates a standardized class infobox.

Parameters

name
The name of the class (e.g., "Warrior")
image
URL to the class icon (e.g., "warrior.png")
portrait
URL to the class portrait/art
maxLevel
Maximum level for this class (default: 25)
baseHp
Base HP per level (default: 5)
varHp
Variable HP per level (default: 0.4)
baseMp
Base MP per level (default: 1.5)
unlocksFrom
How this class is unlocked (default: "Starting Class")
unlocksTo
Links to classes this one unlocks (use wiki links)

Example

{{ClassInfobox
|name=Warrior
|image=https://roidle.com/regular/assets/images/classes/1.png
|portrait=https://irowiki.org/w/images/9/9b/Swordman.png
|maxLevel=25
|baseHp=5
|varHp=0.4
|baseMp=1.5
|unlocksFrom=Starting Class
|unlocksTo=[[Knight]], [[Mercenary]]
}}