Difference between revisions of "Template:Enemy"
Jump to navigation
Jump to search
old>Realpsojed (formatting for XP, Size) |
old>Realpsojed (added icons for resistances) |
||
Line 1: | Line 1: | ||
{| width=300px; | |||
|style="text-align:center;"|<span style="font-size: 20px;">{{ROOTPAGENAME}}</span><br>Level {{:{{ROOTPAGENAME}}|Level}} {{:{{ROOTPAGENAME}}|Type}} | |style="text-align:center;"|<span style="font-size: 20px;">{{ROOTPAGENAME}}</span><br>Level {{:{{ROOTPAGENAME}}|Level}} {{:{{ROOTPAGENAME}}|Type}} | ||
|- | |- | ||
Line 13: | Line 13: | ||
<div style="width:33%;display:inline-block;">Accuracy: {{:{{ROOTPAGENAME}}|Accuracy}}%<br>Block.C: {{:{{ROOTPAGENAME}}|BlockChance}}%<br>Crit.C: {{:{{ROOTPAGENAME}}|CritChance}}%<br>Armor.Pen: {{:{{ROOTPAGENAME}}|ArmorPiercing}}%<br><br>Bleed.C: {{:{{ROOTPAGENAME}}|BleedChance}}%<br>Stun.C: {{:{{ROOTPAGENAME}}|StunChance}}%<br>Knockb.C: {{:{{ROOTPAGENAME}}|KnockbackChance}}%<br>Range: {{:{{ROOTPAGENAME}}|BonusRange}}</div><div style="width:33%;display:inline-block;">Protection: {{:{{ROOTPAGENAME}}|Protection}}<br>Block.P: {{:{{ROOTPAGENAME}}|BlockPower}}<br>Crit.E: {{:{{ROOTPAGENAME}}|CritEfficiency}}%<br> <br><br>Bleed.R: {{:{{ROOTPAGENAME}}|BleedResistance}}%<br>Daze.C: {{:{{ROOTPAGENAME}}|DazeChance}}%<br>Immob.C: {{:{{ROOTPAGENAME}}|ImmobilizeChance}}%<br>Life.L: {{:{{ROOTPAGENAME}}|LifeLeech}}%</div><div style="width:33%;display:inline-block;">Dodge.C: {{:{{ROOTPAGENAME}}|DodgeChance}}%<br>Fumble.C: {{:{{ROOTPAGENAME}}|FumbleChance}}%<br>Counter.C: {{:{{ROOTPAGENAME}}|CounterChance}}%<br>Magic.Pwr: {{:{{ROOTPAGENAME}}|MagicPower}}%<br><br>Pain.R: {{:{{ROOTPAGENAME}}|PainResistance}}%<br>Control.R: {{:{{ROOTPAGENAME}}|ControlResistance}}%<br>Move.R: {{:{{ROOTPAGENAME}}|MoveResistance}}%<br>Energy.L: {{:{{ROOTPAGENAME}}|EnergyLeech}}%</div><hr style="height:2px;background-color:#33323f;box-shadow: 0 2px 13121d;margin: 10px 0 10px 0;"> | <div style="width:33%;display:inline-block;">Accuracy: {{:{{ROOTPAGENAME}}|Accuracy}}%<br>Block.C: {{:{{ROOTPAGENAME}}|BlockChance}}%<br>Crit.C: {{:{{ROOTPAGENAME}}|CritChance}}%<br>Armor.Pen: {{:{{ROOTPAGENAME}}|ArmorPiercing}}%<br><br>Bleed.C: {{:{{ROOTPAGENAME}}|BleedChance}}%<br>Stun.C: {{:{{ROOTPAGENAME}}|StunChance}}%<br>Knockb.C: {{:{{ROOTPAGENAME}}|KnockbackChance}}%<br>Range: {{:{{ROOTPAGENAME}}|BonusRange}}</div><div style="width:33%;display:inline-block;">Protection: {{:{{ROOTPAGENAME}}|Protection}}<br>Block.P: {{:{{ROOTPAGENAME}}|BlockPower}}<br>Crit.E: {{:{{ROOTPAGENAME}}|CritEfficiency}}%<br> <br><br>Bleed.R: {{:{{ROOTPAGENAME}}|BleedResistance}}%<br>Daze.C: {{:{{ROOTPAGENAME}}|DazeChance}}%<br>Immob.C: {{:{{ROOTPAGENAME}}|ImmobilizeChance}}%<br>Life.L: {{:{{ROOTPAGENAME}}|LifeLeech}}%</div><div style="width:33%;display:inline-block;">Dodge.C: {{:{{ROOTPAGENAME}}|DodgeChance}}%<br>Fumble.C: {{:{{ROOTPAGENAME}}|FumbleChance}}%<br>Counter.C: {{:{{ROOTPAGENAME}}|CounterChance}}%<br>Magic.Pwr: {{:{{ROOTPAGENAME}}|MagicPower}}%<br><br>Pain.R: {{:{{ROOTPAGENAME}}|PainResistance}}%<br>Control.R: {{:{{ROOTPAGENAME}}|ControlResistance}}%<br>Move.R: {{:{{ROOTPAGENAME}}|MoveResistance}}%<br>Energy.L: {{:{{ROOTPAGENAME}}|EnergyLeech}}%</div><hr style="height:2px;background-color:#33323f;box-shadow: 0 2px 13121d;margin: 10px 0 10px 0;"> | ||
|- | |- | ||
|style="text-align:center;"|<div style="width:30%;display:inline-block;">Physical | |style="text-align:center;"|<div style="width:30%;display:inline-block;">[[File:Physical_icon.png|alt=Physical Resistance|link=|Physical Resistance|28px]] {{:{{ROOTPAGENAME}}|PhysicalResistance}}%<br><br>[[File:Slashing_icon.png|alt=Slashing Resistance|link=|Slashing Resistance|28px]] {{:{{ROOTPAGENAME}}|SlashingResistance}}%<br>[[File:Piercing_icon.png|alt=Piercing Resistance|link=|Piercing Resistance|28px]] {{:{{ROOTPAGENAME}}|PiercingResistance}}%<br>[[File:Crushing_icon.png|alt=Crushing Resistance|link=|Crushing Resistance|28px]] {{:{{ROOTPAGENAME}}|CrushingResistance}}%<br>[[File:Rending_icon.png|alt=Rending Resistance|link=|Rending Resistance|28px]] {{:{{ROOTPAGENAME}}|RendingResistance}}%<br> </div><div style="width:30%;display:inline-block;">[[File:Nature_icon.png|alt=Nature Resistance|link=|Nature Resistance|28px]] {{:{{ROOTPAGENAME}}|NatureResistance}}%<br><br>[[File:Fire_icon.png|alt=Fire Resistance|link=|Fire Resistance|28px]] {{:{{ROOTPAGENAME}}|FireResistance}}%<br>[[File:Frost_icon.png|alt=Frost Resistance|link=|Frost Resistance|28px]] {{:{{ROOTPAGENAME}}|FrostResistance}}%<br>[[File:Shock_icon.png|alt=Shock Resistance|link=|Shock Resistance|28px]] {{:{{ROOTPAGENAME}}|ShockResistance}}%<br>[[File:Caustic_icon.png|alt=Caustic Resistance|link=|Caustic Resistance|28px]] {{:{{ROOTPAGENAME}}|CausticResistance}}%<br>[[File:Poison_icon.png|alt=Poison Resistance|link=|Poison Resistance|28px]] {{:{{ROOTPAGENAME}}|PoisonResistance}}%</div><div style="width:30%;display:inline-block;">[[File:Magic_icon.png|alt=Magic Resistance|link=|Magic Resistance|28px]] {{:{{ROOTPAGENAME}}|MagicResistance}}%<br><br>[[File:Arcane_icon.png|alt=Arcane Resistance|link=|Arcane Resistance|28px]] {{:{{ROOTPAGENAME}}|ArcaneResistance}}%<br>[[File:Unholy_icon.png|alt=Unholy Resistance|link=|Unholy Resistance|28px]] {{:{{ROOTPAGENAME}}|UnholyResistance}}%<br>[[File:Sacred_icon.png|alt=Sacred Resistance|link=|Sacred Resistance|28px]] {{:{{ROOTPAGENAME}}|SacredResistance}}%<br>[[File:Psionic_icon.png|alt=Psionic Resistance|link=|Psionic Resistance|28px]] {{:{{ROOTPAGENAME}}|PsionicResistance}}%<br> </div><hr style="height:2px;background-color:#33323f;box-shadow: 0 2px 13121d;margin: 10px 0 10px 0;"> | ||
|- | |- | ||
|style="text-align:center;"|<div style="width:30%;display:inline-block;">Faction:<br>{{:{{ROOTPAGENAME}}|Faction}}</div><div style="width:30%;display:inline-block;">Size: {{:{{ROOTPAGENAME}}|Size}}<br> </div><div style="width:30%;display:inline-block;">XP: {{:{{ROOTPAGENAME}}|XP}}<br> </div> | |style="text-align:center;"|<div style="width:30%;display:inline-block;">Faction:<br>{{:{{ROOTPAGENAME}}|Faction}}</div><div style="width:30%;display:inline-block;">Size: {{:{{ROOTPAGENAME}}|Size}}<br> </div><div style="width:30%;display:inline-block;">XP: {{:{{ROOTPAGENAME}}|XP}}<br> </div> |
Revision as of 15:31, 7 September 2020
Enemy Level Enemy Enemy |
Enemy |
Health: Enemy Energy: Enemy |
STR AGL PRC VIT WIL
|
|
Enemy Enemy Damage Enemy Enemy Damage Enemy Enemy Damage Enemy Enemy Damage Accuracy: Enemy% Block.C: Enemy% Crit.C: Enemy% Armor.Pen: Enemy% Bleed.C: Enemy% Stun.C: Enemy% Knockb.C: Enemy% Range: Enemy Protection: Enemy Block.P: Enemy Crit.E: Enemy% Bleed.R: Enemy% Daze.C: Enemy% Immob.C: Enemy% Life.L: Enemy% Dodge.C: Enemy% Fumble.C: Enemy% Counter.C: Enemy% Magic.Pwr: Enemy% Pain.R: Enemy% Control.R: Enemy% Move.R: Enemy% Energy.L: Enemy% |
Faction: Enemy Size: Enemy XP: Enemy
|
Enemy |
</includeonly>
Documentation
[purge]
This is template created for use together with the Template:Tooltip hover box template. Copy this code to a specific Enemy page (for example, Skeleton Swordsman):
{{ {{{1|Tooltip hover box}}}|title= {{Enemy}} }}
It will automatically load the attrbutes from Enemy data and fill them into the format you see below.
You can provide the enemy name as first parameter, otherwise the pagename is used.
Enemy body types
Enemies gain certain additional attributes (mainly Resistances) from their body types. These bonuses are hardcoded in the Enemy template as the "Matter" variable and added to each enemy's base attributes.
Example
Enemy Level Enemy Enemy |
Enemy |
Health: Enemy Energy: Enemy |
STR AGL PRC VIT WIL
|
|
Enemy Enemy Damage Enemy Enemy Damage Enemy Enemy Damage Enemy Enemy Damage Accuracy: Enemy% Block.C: Enemy% Crit.C: Enemy% Armor.Pen: Enemy% Bleed.C: Enemy% Stun.C: Enemy% Knockb.C: Enemy% Range: Enemy Protection: Enemy Block.P: Enemy Crit.E: Enemy% Bleed.R: Enemy% Daze.C: Enemy% Immob.C: Enemy% Life.L: Enemy% Dodge.C: Enemy% Fumble.C: Enemy% Counter.C: Enemy% Magic.Pwr: Enemy% Pain.R: Enemy% Control.R: Enemy% Move.R: Enemy% Energy.L: Enemy% |
Faction: Enemy Size: Enemy XP: Enemy
|
Enemy |