Template:ClassInfobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="float:right; margin: | <includeonly>{| class="wikitable" style="float:right; margin-left: 10%; margin-bottom: 10%;" | ||
! style="text-align:center;" colspan="2" | {{{name}}} {{{image}}} | ! style="text-align:center;" colspan="2" | {{{name}}} {{{image}}} | ||
|- | |- | ||
Revision as of 15:57, 11 July 2025
Usage
This template creates a standardized class infobox.
Parameters
- name
- The name of the class (e.g., "Warrior")
- image
- URL to the class icon (will be displayed as text, e.g., "https://roidle.com/regular/assets/images/classes/o.png")
- portrait
- URL to the class portrait/art (e.g., "https://irowiki.org/w/images/9/9b/Swordman.png")
- 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]]
}}