Jump to content

Template:Infobox character: Difference between revisions

From Megabonk Wiki
No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 5: Line 5:
|-
|-
| colspan="2" style="text-align:center; padding:.3em;" | [[File:{{{image|Placeholder.png}}}|240px|center|alt={{{name|}}} character|{{{name|}}}]]
| colspan="2" style="text-align:center; padding:.3em;" | [[File:{{{image|Placeholder.png}}}|240px|center|alt={{{name|}}} character|{{{name|}}}]]
|-
! colspan="2" style="text-align:center; font-size:1.05em; padding:.45em; color:#FFD47F; background:rgba(255,255,255,.03);" | General Information
|-
|-
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Unlock
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Unlock
| style="padding:.4em;" | {{{unlock|—}}}
| style="padding:.4em;" | {{{unlock|—}}}
|-
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Default weapon
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Default Weapon
| style="padding:.4em;" | {{{weapon|—}}}
| style="padding:.4em;" | {{{weapon|—}}}
|-
|-
Line 20: Line 22:
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Role
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Role
| style="padding:.4em;" | {{{role|—}}}
| style="padding:.4em;" | {{{role|—}}}
|-
! colspan="2" style="text-align:center; font-size:1.05em; padding:.45em; color:#FFD47F; background:rgba(255,255,255,.03);" | Base Stats
{{#if:{{{max_hp|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Max HP
| style="padding:.4em;" | {{{max_hp}}}
}}
{{#if:{{{hp_regen|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | HP Regen
| style="padding:.4em;" | {{{hp_regen}}}
}}
{{#if:{{{shield|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Shield
| style="padding:.4em;" | {{{shield}}}
}}
{{#if:{{{armor|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Armor
| style="padding:.4em;" | {{{armor}}}
}}
{{#if:{{{evasion|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Evasion
| style="padding:.4em;" | {{{evasion}}}
}}
{{#if:{{{damage|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Damage
| style="padding:.4em;" | {{{damage}}}
}}
{{#if:{{{crit_chance|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Crit Chance
| style="padding:.4em;" | {{{crit_chance}}}
}}
{{#if:{{{crit_damage|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Crit Damage
| style="padding:.4em;" | {{{crit_damage}}}
}}
{{#if:{{{attack_speed|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Attack Speed
| style="padding:.4em;" | {{{attack_speed}}}
}}
{{#if:{{{size|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Size
| style="padding:.4em;" | {{{size}}}
}}
{{#if:{{{movement_speed|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Movement Speed
| style="padding:.4em;" | {{{movement_speed}}}
}}
{{#if:{{{jump_height|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Jump Height
| style="padding:.4em;" | {{{jump_height}}}
}}
{{#if:{{{extra_jumps|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Extra Jumps
| style="padding:.4em;" | {{{extra_jumps}}}
}}
{{#if:{{{luck|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Luck
| style="padding:.4em;" | {{{luck}}}
}}
{{#if:{{{pickup_range|}}}|
|-
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | Pickup Range
| style="padding:.4em;" | {{{pickup_range}}}
}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
== Usage ==
== Usage ==
{{Infobox character
This infobox provides a summary of a character's key attributes.
| name      = Fox
| image      = Fox.png
| unlock    = Default
| weapon    = Firestaff
| blessing  = +1% Luck per level
| difficulty = Easy
| role      = Ranged
}}


=== Example (copy-paste code) ===
=== Blank Code for Copy-Pasting ===
<pre>
<pre>
{{Infobox character
{{Infobox character
| name       = Fox
| name           =  
| image     = Fox.png
| image         =  
| unlock     = Default
| unlock         =  
| weapon     = Firestaff
| weapon         =  
| blessing   = +1% Luck per level
| blessing       =  
| difficulty = Easy
| difficulty     =  
| role      = Ranged
| role           =
| max_hp        =
| hp_regen       =  
| shield        =
| armor          =
| evasion        =
| damage        =
| crit_chance    =
| crit_damage    =
| attack_speed  =
| size          =
| movement_speed =
| jump_height    =
| extra_jumps    =
| luck          =
| pickup_range  =
}}
}}
</pre>
</pre>
{{documentation}}
</noinclude>
</noinclude>

Revision as of 19:51, 2 October 2025

Usage

This infobox provides a summary of a character's key attributes.

Blank Code for Copy-Pasting

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

Template:Documentation