Template:Infobox unit: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
QuinnBinn (talk | contribs)
m Clarified soul value param and changed to total souls
Sylphoid (talk | contribs)
m Sylphoid moved page Template:Infobox Unit to Template:Infobox unit: standardize
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude><div style="margin-left: 2em;">
<onlyinclude><div style="margin-left: 2em;">
{| class="wikitable infobox" style="color: #FFEFD7; background-color: #2F2F2F; font-weight: bold"
{| class="wikitable infobox" style="color: #FFEFD7; background-color: #2F2F2F; font-weight: bold"
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 16px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;"| {{{name}}}
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 18px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;"| {{{name}}}
|-
|-
! colspan="2" style="padding:0px; background-color:#a79986" | [[File:{{{Image}}}|200px]]
! colspan="2" style="padding:0px; background-color:#a79986" | [[File:{{{Image}}}|200px]]
Line 7: Line 7:
! colspan="2" style="background-color: #7CBB1E; font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;" | Health
! colspan="2" style="background-color: #7CBB1E; font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 0px 4px black, 0px 0px 0px black, 0px 0px 0px black; color:#FFEFD7;" | Health
|-
|-
! style="color: #999999; background-color: #2F2F2F" | Max Health
! style="color: #999999; background-color: #2F2F2F" | Base Health
| {{Icon/Grey|[[File:Extra Health.png|20px|link=Health]]|{{{max_health}}}}}
| {{Icon/Grey|[[File:Extra Health.png|20px|link=Health]]|{{{max_health}}}}}
|-
|-
Line 49: Line 49:
| {{{soul_orbs}}}
| {{{soul_orbs}}}
|}
|}
</div></onlyinclude>
</div></onlyinclude><noinclude>{{Documentation}}</noinclude>
 
 
{{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
}}
 
 
<noinclude>
<templatedata>
{
"params": {
"name": {
"description": "Name of the unit",
"example": "Guardian",
"required": true
},
"max_health": {
"description": "Unit Health",
"example": "5500",
"type": "number"
},
"health_regen": {
"description": "Unit Health Regen (if applicable)",
"type": "number"
},
"bullet_resist": {
"description": "Unit Bullet Resistance %",
"type": "number"
},
"spirit_resist": {
"description": "Unit Spirit Resistance %",
"type": "number"
},
"dps": {
"description": "Player DPS Value of the Unit",
"type": "number"
},
"bullet_damage": {
"description": "Individual attack damage",
"type": "number"
},
"attack_range": {
"description": "Maximum Attack Range",
"type": "number"
},
"melee_damage": {
"description": "Unit melee damage (if applicable)",
"type": "number"
},
"move_speed": {
"description": "Unit walk speed (if applicable)",
"type": "number"
},
"sprint_speed": {
"description": "Unit sprint speed (if applicable)",
"type": "number"
},
"Image": {
"description": "Unit image",
"type": "wiki-file-name",
"suggestedvalues": [
"Guardian Icon.png"
],
"default": "Guardian Icon.png",
"required": true
},
"soul_value": {
"description": "How many Souls the unit grants in total (Including Base Amount + Soul Orbs)",
"type": "number"
},
"soul_orbs": {
"description": "Number of Soul Orbs spawned by the unit on death",
"type": "number"
}
},
"paramOrder": [
"name",
"Image",
"max_health",
"health_regen",
"bullet_resist",
"spirit_resist",
"dps",
"bullet_damage",
"attack_range",
"melee_damage",
"move_speed",
"sprint_speed",
"soul_value",
"soul_orbs"
]
}
</templatedata>
</noinclude>

Latest revision as of 16:18, 17 September 2024

{{{name}}}
[[File:{{{Image}}}|200px]]
Health
Base Health

{{{max_health}}}

Health Regen

{{{health_regen}}}

Bullet Resist

{{{bullet_resist}}}%

Spirit Resist

{{{spirit_resist}}}%

Damage
Damage

{{{bullet_damage}}}

DPS

{{{dps}}}

Range

{{{attack_range}}}

Melee Damage

{{{melee_damage}}}

Movement
Move Speed

{{{move_speed}}} m/s

Sprint Speed

{{{sprint_speed}}} m/s

Souls
Total Souls Souls {{{soul_value}}}
Soul Orbs {{{soul_orbs}}}
Template documentation [view] [edit] [purge]

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

Name of the unit

Example
Guardian
Unknownrequired
ImageImage

Unit image

Suggested values
Guardian Icon.png
Default
Guardian Icon.png
Filerequired
max_healthmax_health

Unit Health

Example
5500
Numberoptional
health_regenhealth_regen

Unit Health Regen (if applicable)

Numberoptional
bullet_resistbullet_resist

Unit Bullet Resistance %

Numberoptional
spirit_resistspirit_resist

Unit Spirit Resistance %

Numberoptional
dpsdps

Player DPS Value of the Unit

Numberoptional
bullet_damagebullet_damage

Individual attack damage

Numberoptional
attack_rangeattack_range

Maximum Attack Range

Numberoptional
melee_damagemelee_damage

Unit melee damage (if applicable)

Numberoptional
move_speedmove_speed

Unit walk speed (if applicable)

Numberoptional
sprint_speedsprint_speed

Unit sprint speed (if applicable)

Numberoptional
soul_valuesoul_value

How many Souls the unit grants in total (Including Base Amount + Soul Orbs)

Numberoptional
soul_orbssoul_orbs

Number of Soul Orbs spawned by the unit on death

Numberoptional

Example[edit source]

{{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
Health
Base Health

5500

Health Regen

0

Bullet Resist

0%

Spirit Resist

0%

Damage
Damage

16

DPS

28

Range

1500

Melee Damage

200

Movement
Move Speed

0 m/s

Sprint Speed

0 m/s

Souls
Total Souls Souls 100
Soul Orbs 4