Template:Infobox character: Difference between revisions
Appearance
No edit summary |
mNo edit summary Tag: Manual revert |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="width: | {| 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:1.15em; padding:.45em; color:#FFD47F; background:rgba(255,255,255,.03);" | {{{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; padding:.3em;" | [[File:{{{image|Placeholder.png}}}| | | colspan="2" style="text-align:center; padding:.3em;" | [[File:{{{image|Placeholder.png}}}|198px|center|alt={{{name|}}} character|{{{name|}}}]] | ||
|- | |- | ||
! 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 | ! 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|—}}} | ||
|- | |- | ||
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | RNG Blessing | ! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08); border-radius:6px;" | RNG Blessing | ||
| style="padding:.4em;" | {{{blessing|—}}} | | style="padding:.4em;" | {{{blessing|—}}} | ||
|- | |- | ||
! 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|—}}} | ||
|- 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|}}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This template creates a standardized infobox for character pages. | |||
== 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> | |||
{{Infobox character | {{Infobox character | ||
| name | | name = | ||
| image | | image = | ||
| unlock | | unlock = | ||
| weapon | | weapon = | ||
| blessing | | blessing = | ||
| difficulty = | | difficulty = | ||
| role = | | role = | ||
| max_hp = | |||
| shield = | |||
| armor = | |||
| evasion = | |||
| thorns = | |||
| damage = | |||
| crit_chance = | |||
| crit_damage = | |||
| attack_speed = | |||
| lifesteal = | |||
| move_speed = | |||
| luck = | |||
| pickup_range = | |||
| jump_height = | |||
| extra_jumps = | |||
}} | }} | ||
</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.
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 = }}