Template:Infobox boss enemy: Difference between revisions
From He is Coming Official Wiki
Benjiminio (talk | contribs) - boss drop item icons now have tooltip and link to their own item page (instead of image asset page) |
Largestill (talk | contribs) Fixing the "Infobox boss enemy" box to display information correctly on pages. |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 6: | Line 6: | ||
|{{{1|}}} | |{{{1|}}} | ||
| name = Black Knight | | name = Black Knight | ||
| health = | | health = 10 | ||
| attack = [[File:Icon attack.png|link=]] 0 | | attack = [[File:Icon attack.png|link=]] 0 | ||
| armor = [[File:Icon armor.png | | armor = [[File:Icon armor.png]] 5 | ||
| speed = [[File:Icon speed.png|link=]] 0 | | speed = [[File:Icon speed.png|link=]] 0 | ||
| trait = Battle Start: Black Knight gains attack equal to the player's attack plus 2 | | trait = Battle Start: Black Knight gains attack equal to the player's attack plus 2 | ||
| week = 1 <!-- | | week = 1 <!-- Can be: the week the boss appears in Woodland (1/2/3), the fight stage the Swampland Hydra's head appears in (1/2/3/4), or the miniboss' biome (e.g. Spider Grove (Unknown name)) --> | ||
| weektitle = Week <!-- | | weektitle = Week <!-- the context in which the boss appears: e.g. Week (standard boss), Biome (miniboss) or Fight (Swampland Hydra head) --> | ||
| text = Once sworn to the ancient Order of Knights, he cast aside his vow when the crown promised power beyond mortal reach. Now he bears no sigil, only armor blackened by betrayal. | | text = Once sworn to the ancient Order of Knights, he cast aside his vow when the crown promised power beyond mortal reach. Now he bears no sigil, only armor blackened by betrayal. | ||
| itemdrops1 = Bearclaw Blade | | itemdrops1 = Bearclaw Blade | ||
| Line 19: | Line 19: | ||
}} | }} | ||
<pre> | <pre> | ||
{{Infobox boss enemy | {{Infobox boss enemy/as | ||
|{{{1|}}} | |||
| name = Black Knight | | name = Black Knight | ||
| health = | | health = 10 | ||
| attack = | | attack = 0 | ||
| armor = | | armor = 5 | ||
| speed = | | speed = 0 | ||
| trait = Battle Start: Black Knight gains attack equal to the | | trait = Battle Start: Black Knight gains attack equal to the player's attack plus 2 | ||
| week = 1 | | week = 1 <!-- Can be: the week the boss appears in Woodland (1/2/3), the fight stage the Swampland Hydra's head appears in (1/2/3/4), or the miniboss' biome (e.g. Spider Grove (Unknown name)) --> | ||
| weektitle = Week | | weektitle = Week <!-- the context in which the boss appears: e.g. Week (standard boss), Biome (miniboss) or Fight (Swampland Hydra head) --> | ||
| text = | | text = Once sworn to the ancient Order of Knights, he cast aside his vow when the crown promised power beyond mortal reach. Now he bears no sigil, only armor blackened by betrayal. | ||
| itemdrops1 = Bearclaw Blade | | itemdrops1 = Bearclaw Blade | ||
| itemdrops2 = Tempest Blade | | itemdrops2 = Tempest Blade | ||
| Line 44: | Line 45: | ||
<includeonly> | <includeonly> | ||
{| class="wikitable " style="float:right; clear:right; margin:0 0 1em 1em; width:350px;" | {| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; max-width:350px; width:auto;" | ||
|- | |- | ||
| colspan="13" style="background-color:#241319;border:none;"| {{Borderline}} | | colspan="13" style="background-color:#241319;border:none;"| {{Borderline}} | ||
| Line 59: | Line 60: | ||
|- | |- | ||
! style="width:30%" | Base Stats | ! style="width:30%" | Base Stats | ||
| colspan="3" style="text-align:center; | | colspan="3" style="text-align:center;" | [[File:Icon health.png|link=]] {{#invoke:InfoboxBossEnemy|extractStat|{{{health|0}}}}} | ||
| colspan="3" style="text-align:center;" | [[File:Icon attack.png|link=]] {{#invoke:InfoboxBossEnemy|extractStat|{{{attack|0}}}}} | |||
| colspan="3" style="text-align:center;" | [[File:Icon armor.png|link=]] {{#invoke:InfoboxBossEnemy|extractStat|{{{armor|0}}}}} | |||
| colspan="3" style="text-align:center;" | [[File:Icon speed.png|link=]] {{#invoke:InfoboxBossEnemy|extractStat|{{{speed|0}}}}} | |||
|- | |- | ||
! Trait | ! Trait | ||
Latest revision as of 05:39, 6 April 2026
Example
The following is a sample output of this template:
{{Infobox boss enemy/as
|{{{1|}}}
| name = Black Knight
| health = 10
| attack = 0
| armor = 5
| speed = 0
| trait = Battle Start: Black Knight gains attack equal to the player's attack plus 2
| week = 1 <!-- Can be: the week the boss appears in Woodland (1/2/3), the fight stage the Swampland Hydra's head appears in (1/2/3/4), or the miniboss' biome (e.g. Spider Grove (Unknown name)) -->
| weektitle = Week <!-- the context in which the boss appears: e.g. Week (standard boss), Biome (miniboss) or Fight (Swampland Hydra head) -->
| text = Once sworn to the ancient Order of Knights, he cast aside his vow when the crown promised power beyond mortal reach. Now he bears no sigil, only armor blackened by betrayal.
| itemdrops1 = Bearclaw Blade
| itemdrops2 = Tempest Blade
| itemdrops3 = Mountain Cleaver
}}



