Template:Infobox character: Difference between revisions
Appearance
No edit summary Tag: Reverted |
mNo edit summary Tag: Manual revert |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="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;" | {| 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. | ! 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);" | Unlock | |||
| style="padding:.4em;" | {{{unlock|—}}} | | style="padding:.4em;" | {{{unlock|—}}} | ||
|- | |- | ||
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | 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|—}}} | ||
|- | |- | ||
! style="white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | 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);" | 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 }};" | ||
{{#if: {{{max_hp|}}}{{{shield|}}}{{{armor|}}}{{{evasion|}}}{{{thorns|}}}{{{lifesteal|}}}{{{damage|}}}{{{crit_chance|}}}{{{crit_damage|}}}{{{attack_speed|}}}{{{move_speed|}}}{{{luck|}}}{{{jump_height|}}}{{{extra_jumps|}}}{{{pickup_range|}}} | |||
| | |||
! colspan="2" style="text-align:center; font-size:1.1em; padding:.4em; color:#FFD47F; background:rgba(0,0,0,.1);" | Stats | ! 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}};" | ||
{{#if: {{{max_hp|}}} | ! 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; background:rgba(255,212,127,.08);" | Max HP | | style="padding:.4em;" | {{{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 | |||
{{#if: {{{ | | 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; background:rgba(255,212,127,.08);" | | | style="padding:.4em;" | {{{shield|}}} | ||
| style="padding:.4em;" | {{{ | |- style="display:{{#if:{{{evasion|}}}|table-row|none}};" | ||
! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Evasion | |||
{{#if: {{{ | | 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; background:rgba(255,212,127,.08);" | | | style="padding:.4em;" | {{{thorns|}}} | ||
| style="padding:.4em;" | {{{ | |- 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 | |||
{{#if: {{{evasion|}}} | |- 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="padding:.4em; background:rgba(255,212,127,.08);" | Evasion | |- style="display:{{#if:{{{crit_chance|}}}|table-row|none}};" | ||
| style="padding:.4em;" | {{{evasion}}} | ! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Crit Chance | ||
| style="padding:.4em;" | {{{crit_chance|}}} | |||
{{#if: {{{thorns|}}} | |- 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="padding:.4em; background:rgba(255,212,127,.08);" | Thorns | |- style="display:{{#if:{{{lifesteal|}}}|table-row|none}};" | ||
| style="padding:.4em;" | {{{thorns}}} | ! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Lifesteal | ||
| style="padding:.4em;" | {{{lifesteal|}}} | |||
{{#if: {{{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="padding:. | ! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Move Speed | ||
| style=" | | style="padding:.4em;" | {{{move_speed|}}} | ||
|- style="display:{{#if:{{{luck|}}}|table-row|none}};" | |||
{{#if: {{{damage|}}} | ! 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="padding:.4em; background:rgba(255,212,127,.08);" | Damage | ! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Pickup Range | ||
| style="padding:.4em;" | {{{damage}}} | | style="padding:.4em;" | {{{pickup_range|}}} | ||
|- style="display:{{#if:{{{jump_height|}}}|table-row|none}};" | |||
{{#if: {{{crit_chance|}}} | ! 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="padding:.4em; background:rgba(255,212,127,.08);" | Crit Chance | ! style="width:40%; white-space:nowrap; padding:.4em; background:rgba(255,212,127,.08);" | Extra Jumps | ||
| style="padding:.4em;" | {{{crit_chance}}} | | style="padding:.4em;" | {{{extra_jumps|}}} | ||
{{#if: {{{ | |||
| | |||
| | |||
! style="padding:.4em; background:rgba(255,212,127,.08);" | | |||
| style="padding:.4em;" | {{{ | |||
{{#if: {{{ | |||
| | |||
| | |||
! style="padding:.4em; background:rgba(255,212,127,.08);" | | |||
| style="padding:.4em;" | {{{ | |||
}} | |||
{{#if: {{{move_speed|}}} | |||
| | |||
| | |||
! style="padding:.4em; background:rgba(255,212,127,.08);" | | |||
| style="padding:.4em;" | {{{move_speed}}} | |||
{{#if: {{{luck|}}} | |||
| | |||
| | |||
! style="padding:.4em; background:rgba(255,212,127,.08);" | Luck | |||
| style="padding:.4em;" | {{{luck}}} | |||
{{#if: {{{ | |||
| | |||
| | |||
! style="padding:.4em; background:rgba(255,212,127,.08);" | | |||
| style="padding:.4em;" | {{{ | |||
{{#if: {{{ | |||
| | |||
| | |||
! style="padding:.4em; background:rgba(255,212,127,.08);" | | |||
| style="padding:.4em;" | {{{ | |||
{{#if: {{{ | |||
| | |||
| | |||
! style="padding:.4em; background:rgba(255,212,127,.08);" | | |||
| style="padding:.4em;" | {{{ | |||
}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This template | 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 | {{Infobox character | ||
| name | | name = Athena | ||
| image | | image = Athena.png | ||
| weapon | | unlock = Upgrade the Thorns Tome to Level 9. | ||
| blessing | | weapon = Aegis | ||
| | | blessing = Deal more damage on lower HP. Gain 1 Thorns per level. | ||
| | | difficulty = Medium | ||
| armor | | role = Tank / Bruiser | ||
| max_hp = 125 (+25) | |||
| thorns | | armor = 17% (+17%) | ||
| thorns = 5 (+5) | |||
| damage | | damage = 1.1x | ||
| luck = -5% | |||
| luck | |||
}} | }} | ||
=== | === Blank Code for Copy-Pasting === | ||
<pre> | <pre> | ||
{{Infobox character | {{Infobox character | ||
| name | | name = | ||
| image | | image = | ||
| unlock | | unlock = | ||
| weapon | | weapon = | ||
| blessing | | blessing = | ||
| role | | difficulty = | ||
| max_hp | | role = | ||
| armor | | max_hp = | ||
| thorns = | | shield = | ||
| armor = | |||
| evasion = | |||
| thorns = | |||
| damage = | |||
| crit_chance = | |||
| crit_damage = | |||
| attack_speed = | |||
| lifesteal = | |||
| 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.
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 = }}