Template:Infobox unit: Difference between revisions
Jump to navigation
Jump to search
Updated Unit Infobox |
mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{| class="infobox" style="font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia','FreeSerif', serif;padding:8px;border-radius: 13px;border: none 1px #A69885;color: #FFEFD7;width: | {| class="infobox" style="font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia','FreeSerif', serif;padding:8px;border-radius: 13px;border: none 1px #A69885;color: #FFEFD7;width: 260px; background-color: #2F2F2F; font-weight: bold" | ||
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: {{{font-size|20px}}}; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 3px black, 1px 1px 2px #A69885, 0px 0px 1px black; color:#FFEFD7;"; color:#FFEFD7;"| {{{name}}} | ! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: {{{font-size|20px}}}; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 3px black, 1px 1px 2px #A69885, 0px 0px 1px black; color:#FFEFD7;"; color:#FFEFD7;"| {{{name}}} | ||
|- | |- | ||
! colspan="2"style="margin:auto;text-align:center;" |<div class="HeroCard2"; style="transition: 0.2s transform ease-in-out;overflow:hidden;border-radius: 15px;background-image: linear-gradient(#A69885, #72695A);padding:0px; background-color:#a79986;text-align:center;max-width: | ! colspan="2"style="margin:auto;text-align:center;" |<div class="HeroCard2"; style="transition: 0.2s transform ease-in-out;overflow:hidden;border-radius: 15px;background-image: linear-gradient(#A69885, #72695A);padding:0px; background-color:#a79986;text-align:center;max-width:200px;height: auto;margin:auto;box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);"> [[File:{{{Image}}}|200px]]</div> | ||
|- | |- | ||
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 15px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-style: italic; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;text-align:center;" | <b><br style="display: block; margin: 2px">Stats</b> | ! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 15px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-style: italic; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;text-align:center;" | <b><br style="display: block; margin: 2px">Stats</b> | ||
Line 24: | Line 24: | ||
|- | |- | ||
| style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" | Damage: | | style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" | Damage: | ||
|style="width: | |style="width: 120px;font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Bullet damage.png|20px|link=Bullet Damage]]|{{{bullet_damage}}}}} | ||
|- | |- | ||
| style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" | DPS: | | style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" | DPS: |
Revision as of 02:29, 21 October 2024
Usage
This infobox template is used for NPCs. It should be placed at the top of the page. For the hero infobox, see {{Infobox hero}}
.
Examples
{{Infobox unit |name= Guardian |Image= Guardian Icon.png |max_health = 5500 |health_regen = 0 |bullet_resist = 0 |spirit_resist = 0 |dps = 28 |bullet_damage = 16 |melee_damage = 200 |stationary = |move_speed = 0 |stamina = 0 |sprint_speed = 0 |attack_range = 1500 |soul_orbs = 4 |soul_value = 100 }}
{{Infobox unit |can_move=true |name=Ranged Trooper |Image=Trooper Icon.png |max_health=300 |health_regen=0 |bullet_resist=0 |spirit_resist=0 |dps=28 |bullet_damage=36 |attack_range=1000 |melee_damage=25 |move_speed=2.4 |sprint_speed=4.33 |soul_value=75 |soul_orbs=1 }}
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the unit
| Unknown | required |
Image | Image | Image file for the unit. Do not include the File: prefix.
| File | required |
max_health | max_health | Unit Health
| Number | optional |
health_regen | health_regen | Unit Health Regen (if applicable) | Number | optional |
bullet_resist | bullet_resist | Unit Bullet Resistance % | Number | optional |
spirit_resist | spirit_resist | Unit Spirit Resistance % | Number | optional |
dps | dps | Player DPS Value of the Unit | Number | optional |
bullet_damage | bullet_damage | Individual attack damage | Number | optional |
attack_range | attack_range | Maximum Attack Range | Number | optional |
melee_damage | melee_damage | Unit melee damage (if applicable) | Number | optional |
move_speed | move_speed | Unit walk speed (if applicable) | Number | optional |
sprint_speed | sprint_speed | Unit sprint speed (if applicable) | Number | optional |
soul_value | soul_value | How many Souls the unit grants in total (Including Base Amount + Soul Orbs) | Number | optional |
soul_orbs | soul_orbs | Number of Soul Orbs spawned by the unit on death | Number | optional |
font-size | font-size | no description | Unknown | optional |
can_move | can_move | no description | Unknown | optional |