Template:Infobox boss enemy: Difference between revisions

From He is Coming Official Wiki
No edit summary
Benjiminio (talk | contribs)
- boss drop item icons now have tooltip and link to their own item page (instead of image asset page)
Line 3: Line 3:
The following is a sample output of this template:
The following is a sample output of this template:


{{Infobox boss enemy
{{Infobox boss enemy/as
|{{{1|}}}
  | name = Black Knight
  | name = Black Knight
  | health = [[File:Icon health.png]] 10
  | health = [[File:Icon health.png|link=]] 10
  | attack = [[File:Icon attack.png]] 0
  | attack = [[File:Icon attack.png|link=]] 0
  | armor = [[File:Icon armor.png]] 5
  | armor = [[File:Icon armor.png|link=]] 5
  | speed = [[File:Icon speed.png]] 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 <!-- must be either the week the boss appears in (1/2/3), or the biome for the miniboss (e.g. Spider Grove (Unknown name)) -->
  | weektitle = Week
  | weektitle = Week <!-- must be either Week (boss) or Biome (miniboss) -->
  | 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 = Bloodmoon Armor
  | itemdrops1 = Bearclaw Blade
  | itemdrops2 = Bloodmoon Armor
  | itemdrops2 = Tempest Blade
  | itemdrops3 = Bloodmoon Armor
  | itemdrops3 = Mountain Cleaver
}}
}}
<pre>
<pre>
{{Infobox boss enemy
{{Infobox boss enemy
  | name = Black Knight
  | name = Black Knight
  | health = [[File:Icon health.png]] 10
  | health = [[File:Icon health.png|link=]] 10
  | attack = [[File:Icon attack.png]] 0
  | attack = [[File:Icon attack.png|link=]] 0
  | armor = [[File:Icon armor.png]] 5
  | armor = [[File:Icon armor.png|link=]] 5
  | speed = [[File:Icon speed.png]] 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
  | weektitle = Week
  | weektitle = Week
  | 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 = Bloodmoon Armor
  | itemdrops1 = Bearclaw Blade
  | itemdrops2 = Bloodmoon Armor
  | itemdrops2 = Tempest Blade
  | itemdrops3 = Bloodmoon Armor
  | itemdrops3 = Mountain Cleaver
}}
}}
</pre>
</pre>
<!-- Why is this here?
|-
|-
! style="width:30%" | Base Stats
! style="width:30%" | Base Stats
| colspan="12" style="text-align:center;width:61px;" | {{{health}}}<br>{{{attack}}}<br>{{{armor}}}<br>{{{speed}}}
| colspan="12" style="text-align:center;width:61px;" | {{{health}}}<br>{{{attack}}}<br>{{{armor}}}<br>{{{speed}}}
-->
</noinclude>
</noinclude>


<includeonly>
<includeonly>
Line 54: Line 59:
|-
|-
! style="width:30%" | Base Stats
! style="width:30%" | Base Stats
| colspan="3" style="text-align:center;width:17.5%;" | {{{health}}} || colspan="3" style="text-align:center;width:17.5%;" | {{{attack}}} || colspan="3" style="text-align:center;width:17.5%;" | {{{armor}}} || colspan="3" style="text-align:center;width:17.5%;" | {{{speed}}}
| colspan="3" style="text-align:center; width:17.5%;" | {{{health}}} || colspan="3" style="text-align:center; width:17.5%;" | {{{attack}}} || colspan="3" style="text-align:center; width:17.5%;" | {{{armor}}} || colspan="3" style="text-align:center; vertical-align:middle; width:17.5%;" | {{{speed}}}
|-
|-
! Trait
! Trait
Line 67: Line 72:
|
|
! style="width:30%" {{!}} Item Drops  
! style="width:30%" {{!}} Item Drops  
{{!}} colspan="4" style="text-align:center;width:23.3%;" {{!}} [[File:{{{itemdrops1}}} 16x.png | 54px]] {{!}}{{!}} colspan="4" style="text-align:center;width:23.3%;" {{!}} [[File:{{{itemdrops2}}} 16x.png | 54px]] {{!}}{{!}} colspan="4" style="text-align:center;width:23.3%;" {{!}} [[File:{{{itemdrops3}}} 16x.png | 54px]]
{{!}} colspan="4" style="text-align:center;width:23.3%;" {{!}} [[File:{{{itemdrops1}}} 16x.png | 54px | link=https://wiki.hoodedhorse.com/He_is_Coming/{{#replace:{{{itemdrops1}}}| |_}} | {{{itemdrops1}}}]] {{!}}{{!}} colspan="4" style="text-align:center;width:23.3%;" {{!}} [[File:{{{itemdrops2}}} 16x.png | 54px | link=https://wiki.hoodedhorse.com/He_is_Coming/{{#replace:{{{itemdrops2}}}| |_}} | {{{itemdrops2}}}]] {{!}}{{!}} colspan="4" style="text-align:center;width:23.3%;" {{!}} [[File:{{{itemdrops3}}} 16x.png | 54px | link=https://wiki.hoodedhorse.com/He_is_Coming/{{#replace:{{{itemdrops3}}}| |_}} | {{{itemdrops3}}}]]
}}
}}



Revision as of 11:15, 24 October 2025

Example

The following is a sample output of this template:


Black Knight
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.
Base Stats 10 0 5 0
Trait Battle Start: Black Knight gains attack equal to the player's attack plus 2
Week 1
Item Drops Bearclaw Blade Tempest Blade Mountain Cleaver
{{Infobox boss enemy
 | name = Black Knight
 | health = [[File:Icon health.png|link=]] 10
 | attack = [[File:Icon attack.png|link=]] 0
 | armor = [[File:Icon armor.png|link=]] 5
 | speed = [[File:Icon speed.png|link=]] 0
 | trait = Battle Start: Black Knight gains attack equal to the Player's attack plus 2
 | week = 1
 | weektitle = Week
 | 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
}}