Template:Infobox unit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
! ! colspan="2" style="border-radius: 8px;background-color: #7CBB1E; font-weight: bold; font-size: 16px; font-family: 'Retail Demo', 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7;text-align:center; border-bottom: none" | <span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none"">Health</span> | ! ! colspan="2" style="border-radius: 8px;background-color: #7CBB1E; font-weight: bold; font-size: 16px; font-family: 'Retail Demo', 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7;text-align:center; border-bottom: none" | <span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none"">Health</span> | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" |Base Health: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Grey|[[File:Extra Health.png| | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Grey|[[File:Extra Health.png|18px|link=Health]]|{{{max_health}}}}} | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | Health Regen: | ||
|style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)|{{Icon/Grey|[[File:Health regen.png| | |style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)|{{Icon/Grey|[[File:Health regen.png|18px|link=Health Regen]]|{{{health_regen}}}}} | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | Bullet Resist: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Grey|[[File:Bullet Armor.png| | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Grey|[[File:Bullet Armor.png|18px|link=Bullet Resist]]|{{{bullet_resist}}}%}} | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | Spirit Resist: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Grey|[[File:Spirit Armor.png| | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Grey|[[File:Spirit Armor.png|18px|link=Spirit Resist]]|{{{spirit_resist}}}%}} | ||
|- | |- | ||
! colspan="2" style="border-radius: 8px;background-color: #d5903f; font-weight: bold; font-size: 16px; font-family: 'Retail Demo', 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7;text-align:center; border-bottom: none"| <span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none"">Damage</span> | ! colspan="2" style="border-radius: 8px;background-color: #d5903f; font-weight: bold; font-size: 16px; font-family: 'Retail Demo', 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7;text-align:center; border-bottom: none"| <span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none"">Damage</span> | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | Damage: | ||
|style="width: 120px;font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Bullet damage.png| | |style="width: 120px;font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Bullet damage.png|18px|link=Bullet Damage]]|{{{bullet_damage}}}}} | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | DPS: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Damage.png| | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Damage.png|18px|link=Damage per second]]|{{{dps}}}}} | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | Range: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Assassinate.png| | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Assassinate.png|18px|link=]]|{{{attack_range}}}}} | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | Melee Damage: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Melee damage.png| | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Icon/Brown|[[File:Melee damage.png|18px|link=Melee attack#Light]]|{{{melee_damage}}}}} | ||
|- | |- | ||
{{#ifeq: {{{can_move|}}}|true | {{#ifeq: {{{can_move|}}}|true | ||
Line 40: | Line 40: | ||
{{!}}- | {{!}}- | ||
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" {{!}}Move Speed: | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" {{!}}Move Speed: | ||
{{!}}style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7) {{!}}{{Icon/Grey|[[File:Move speed.png| | {{!}}style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7) {{!}}{{Icon/Grey|[[File:Move speed.png|18px|link=Move Speed]]|{{{move_speed}}} m/s}} | ||
{{!}}- | {{!}}- | ||
{{!}} style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" {{!}} Sprint Speed: | {{!}} style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #999999; background-color: #2F2F2F" {{!}} Sprint Speed: | ||
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7){{!}}{{Icon/Grey|[[File:Move speed.png| | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7){{!}}{{Icon/Grey|[[File:Move speed.png|18px|link=Move Speed]]|{{{sprint_speed}}} m/s}}}} | ||
|- | |- | ||
! colspan="2" style="border-radius: 8px;background-color: #69cfb0; font-weight: bold; font-size: 16px; font-family: 'Retail Demo', 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7;text-align:center; border-bottom: none" |<span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none"">Souls</span> | ! colspan="2" style="border-radius: 8px;background-color: #69cfb0; font-weight: bold; font-size: 16px; font-family: 'Retail Demo', 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7;text-align:center; border-bottom: none" |<span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none"">Souls</span> | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" | Total Souls: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Souls|{{{soul_value}}}}} | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{Souls|{{{soul_value}}}}} | ||
|- | |- | ||
| style="font-size: | | style="font-size: 15px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7);text-align:right;color: #afafaf; background-color: #2F2F2F" |Soul Orbs: | ||
|style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{{soul_orbs}}} | |style="font-size: 17px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{{soul_orbs}}} | ||
|} | |} | ||
</div></onlyinclude><noinclude>{{Documentation}}</noinclude> | </div></onlyinclude><noinclude>{{Documentation}}</noinclude> |
Revision as of 03:06, 22 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 }}
Guardian | |
---|---|
Stats | |
Health | |
Base Health: | |
Health Regen: | |
Bullet Resist: | |
Spirit Resist: | |
Damage | |
Damage: | 16 |
DPS: | 28 |
Range: | 1500 |
Melee Damage: | 200 |
Souls | |
Total Souls: | 100 |
Soul Orbs: | 4 |
{{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 |