Jump to content

Template:Infobox character: Difference between revisions

From Megabonk Wiki
No edit summary
Tag: Reverted
mNo edit summary
Tag: Manual revert
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:320px; font-size:90%; line-height:1.3; border:1px solid #aaa; background:#f9f9f9;"
{| class="infobox" style="max-width:100%; width:280px; float:right; margin:0 0 12px 12px; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:12px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.14); font-size:90%; text-align:left; line-height:1.45;"
|-
|-
! colspan="2" style="text-align:center; font-size:120%; background:#ddd;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="text-align:center; font-size:1.15em; padding:.45em; color:#FFD47F; background:rgba(255,255,255,.03);" | {{{name|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="text-align:center;" |
| colspan="2" style="text-align:center; padding:.3em;" | [[File:{{{image|Placeholder.png}}}|198px|center|alt={{{name|}}} character|{{{name|}}}]]
[[File:{{{image|Placeholder.png}}}|300px|alt={{{alt|{{{name|{{PAGENAME}}}} Megabonk character}}}}|link=]]
{{#if:{{{caption|}}}|
<br /><small><i>{{{caption}}}</i></small>
}}
|-
! Availability
| {{{availability|—}}}
|-
! Unlock Method
| {{{unlock|—}}}
|-
! Default Weapon
| {{#if:{{{weapon|}}}|[[{{{weapon}}}]] (see [[Weapons]])|—}}
|-
! RNG Blessing / Traits
| {{{rng|—}}}
|-
! Role / Class
| {{{role|—}}}
|-
! Starting Map
| {{{map|—}}}
|-
! Faction
| {{{faction|—}}}
|-
! Related Quests
| {{{quests|—}}}
|-
! Related Challenges
| {{{challenges|—}}}
|-
|-
! Tome / Items Synergy
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Unlock
| {{{synergy|—}}}
| style="padding:.4em;" | {{{unlock|—}}}
|-
|-
! Base Stats
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Default Weapon
| {{#if:{{{hp|}}}|'''HP:''' {{{hp}}}<br />}}
| style="padding:.4em;" | {{{weapon|}}}
  {{#if:{{{armor|}}}|'''Armor:''' {{{armor}}}<br />}}
  {{#if:{{{damage|}}}|'''Damage:''' {{{damage}}}<br />}}
  {{#if:{{{speed|}}}|'''Speed:''' {{{speed}}}<br />}}
  {{#if:{{{crit|}}}|'''Crit Chance:''' {{{crit}}}%<br />}}
  {{#if:{{{luck|}}}|'''Luck:''' {{{luck}}}%<br />}}
  {{#if:{{{evasion|}}}|'''Evasion:''' {{{evasion}}}%<br />}}
  {{#if:{{{thorns|}}}|'''Thorns:''' {{{thorns}}}}}
|-
|-
! Per-Level Growth
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | RNG Blessing
| {{{growth|—}}}
| style="padding:.4em;" | {{{blessing|—}}}
|-
|-
! Notes
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Role
| {{{notes|—}}}
| style="padding:.4em;" | {{{role|—}}}
|- style="display:{{#if: {{{max_hp|}}}{{{shield|}}}{{{armor|}}}{{{evasion|}}}{{{thorns|}}}{{{lifesteal|}}}{{{damage|}}}{{{crit_chance|}}}{{{crit_damage|}}}{{{attack_speed|}}}{{{move_speed|}}}{{{luck|}}}{{{jump_height|}}}{{{extra_jumps|}}}{{{pickup_range|}}} | table-row | none }};"
! colspan="2" style="text-align:center; font-size:1.1em; padding:.4em; color:#FFD47F; background:rgba(0,0,0,.1);" | Stats
|- style="display:{{#if:{{{max_hp|}}}{{{armor|}}}{{{shield|}}}{{{evasion|}}}{{{thorns|}}}|table-row|none}};"
! colspan="2" style="text-align:center; padding:.2em; font-size:0.9em; background:rgba(255,255,255,.05);" | Defensive
|- style="display:{{#if:{{{max_hp|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Max HP
| style="padding:.4em;" | {{{max_hp|}}}
|- style="display:{{#if:{{{armor|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Armor
| style="padding:.4em;" | {{{armor|}}}
|- style="display:{{#if:{{{shield|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Shield
| style="padding:.4em;" | {{{shield|}}}
|- style="display:{{#if:{{{evasion|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Evasion
| style="padding:.4em;" | {{{evasion|}}}
|- style="display:{{#if:{{{thorns|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Thorns
| style="padding:.4em;" | {{{thorns|}}}
|- style="display:{{#if:{{{damage|}}}{{{crit_chance|}}}{{{crit_damage|}}}{{{attack_speed|}}}{{{lifesteal|}}}|table-row|none}};"
! colspan="2" style="text-align:center; padding:.2em; font-size:0.9em; background:rgba(255,255,255,.05);" | Offensive
|- style="display:{{#if:{{{damage|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Damage
| style="padding:.4em;" | {{{damage|}}}
|- style="display:{{#if:{{{crit_chance|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Crit Chance
| style="padding:.4em;" | {{{crit_chance|}}}
|- style="display:{{#if:{{{attack_speed|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Attack Speed
| style="padding:.4em;" | {{{attack_speed|}}}
|- style="display:{{#if:{{{lifesteal|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Lifesteal
| style="padding:.4em;" | {{{lifesteal|}}}
|- style="display:{{#if:{{{move_speed|}}}{{{luck|}}}{{{pickup_range|}}}{{{jump_height|}}}{{{extra_jumps|}}}|table-row|none}};"
! colspan="2" style="text-align:center; padding:.2em; font-size:0.9em; background:rgba(255,255,255,.05);" | Utility
|- style="display:{{#if:{{{move_speed|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Move Speed
| style="padding:.4em;" | {{{move_speed|}}}
|- style="display:{{#if:{{{luck|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Luck
| style="padding:.4em;" | {{{luck|}}}
|- style="display:{{#if:{{{pickup_range|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Pickup Range
| style="padding:.4em;" | {{{pickup_range|}}}
|- style="display:{{#if:{{{jump_height|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Jump Height
| style="padding:.4em;" | {{{jump_height|}}}
|- style="display:{{#if:{{{extra_jumps|}}}|table-row|none}};"
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Extra Jumps
| style="padding:.4em;" | {{{extra_jumps|}}}
|}
|}
[[Category:Characters]]
</includeonly><noinclude>
</includeonly>
This template creates a standardized infobox for character pages.
<noinclude>
 
== Usage ==
== Usage ==
Below is a live preview of the template using an example. Underneath the preview, you can find the blank code to copy for use on a new page.
{{Infobox character
| name        = Athena
| image        = Athena.png
| unlock      = Upgrade the Thorns Tome to Level 9.
| weapon      = Aegis
| blessing    = Deal more damage on lower HP. Gain 1 Thorns per level.
| difficulty  = Medium
| role        = Tank / Bruiser
| max_hp      = 125 (+25)
| armor        = 17% (+17%)
| thorns      = 5 (+5)
| damage      = 1.1x
| luck        = -5%
}}
=== Blank Code for Copy-Pasting ===
<pre>
<pre>
{{Infobox character
{{Infobox character
| name        = Fox
| name         =
| image       = Fox.png
| image       =  
| alt        = Fox Megabonk character
| unlock       =  
| caption     = Starter character
| weapon      =  
| availability= Starting character
| blessing     =  
| unlock      =
| difficulty  =  
| weapon      = Firestaff
| role        =  
| rng        = +1% Luck per level
| max_hp      =  
| role       = Ranged
| shield      =  
| map        = [[Forest]]
| armor       =  
| hp          = 100
| evasion      =  
| armor       = 0
| thorns      =  
| damage      = 10
| damage       =  
| speed      = 1.00
| crit_chance  =
| crit        = 0
| crit_damage  =
| luck       = 0
| attack_speed =  
| growth      = +1% Luck per level
| lifesteal    =  
| notes      = Works well with the [[Damage Tome]] to maximize scaling.
| move_speed  =  
| luck         =
| pickup_range =  
| jump_height  =  
| extra_jumps  =  
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 20:31, 2 October 2025

This template creates a standardized infobox for character pages.

Usage

Below is a live preview of the template using an example. Underneath the preview, you can find the blank code to copy for use on a new page.


Athena
Athena character
Athena
Unlock Upgrade the Thorns Tome to Level 9.
Default Weapon Aegis
RNG Blessing Deal more damage on lower HP. Gain 1 Thorns per level.
Role Tank / Bruiser
Stats
Defensive
Max HP 125 (+25)
Armor 17% (+17%)
Shield
Evasion
Thorns 5 (+5)
Offensive
Damage 1.1x
Crit Chance
Attack Speed
Lifesteal
Utility
Move Speed
Luck -5%
Pickup Range
Jump Height
Extra Jumps


Blank Code for Copy-Pasting

{{Infobox character
| name         = 
| image        = 
| unlock       = 
| weapon       = 
| blessing     = 
| difficulty   = 
| role         = 
| max_hp       = 
| shield       = 
| armor        = 
| evasion      = 
| thorns       = 
| damage       = 
| crit_chance  = 
| crit_damage  = 
| attack_speed = 
| lifesteal    = 
| move_speed   = 
| luck         = 
| pickup_range = 
| jump_height  = 
| extra_jumps  = 
}}