Template:NPCInfobox: Difference between revisions
imported>Dawning mNo edit summary |
imported>Dawning mNo edit summary |
||
| Line 4: | Line 4: | ||
|image={{#if:{{{image|}}}|[[File:{{{image}}}{{!}}300px]]}} | |image={{#if:{{{image|}}}|[[File:{{{image}}}{{!}}300px]]}} | ||
|sections=General Info;Loot;Tier Points | |sections=General Info;Loot;Tier Points | ||
|General Info=Health;Biome;Tiered | |General Info=Health;Biome;Tiered;DungeonDrop | ||
|DungeonDrop_label=Dungeon Dropped | |||
|Health_label=Boss HP | |Health_label=Boss HP | ||
|Tiered_label=Available Tiered Drops | |Tiered_label=Available Tiered Drops | ||
| Line 20: | Line 21: | ||
|Companion={{#arraymap:{{{Companion|}}}|,|@@@|<span class="loot-data-infobox">[[File:Pouch_gold.png|32px]] [[{{#explode:@@@|;|0}}|{{#explode:@@@|;|1}}]] [[File:{{#explode:@@@|;|2}}]]</span> <span class="boss-percent">{{#explode:@@@|;|3}}%</span>|<br>}} | |Companion={{#arraymap:{{{Companion|}}}|,|@@@|<span class="loot-data-infobox">[[File:Pouch_gold.png|32px]] [[{{#explode:@@@|;|0}}|{{#explode:@@@|;|1}}]] [[File:{{#explode:@@@|;|2}}]]</span> <span class="boss-percent">{{#explode:@@@|;|3}}%</span>|<br>}} | ||
|Rune={{#arraymap:{{{Rune|}}}|,|@@@|<span class="loot-data-infobox">[[File:Pouch_rune.png|32px]] [[{{#explode:@@@|;|0}}|{{#explode:@@@|;|1}}]] [[File:{{#explode:@@@|;|2}}]]</span> <span class="boss-percent">{{#explode:@@@|;|3}}%</span>|<br>}} | |Rune={{#arraymap:{{{Rune|}}}|,|@@@|<span class="loot-data-infobox">[[File:Pouch_rune.png|32px]] [[{{#explode:@@@|;|0}}|{{#explode:@@@|;|1}}]] [[File:{{#explode:@@@|;|2}}]]</span> <span class="boss-percent">{{#explode:@@@|;|3}}%</span>|<br>}} | ||
|DungeonDrop={{#if:{{{DungeonDrop|}}} | <span class="loot-data-infobox"> [[{{#explode:{{{DungeonDrop}}}|;|0}}|{{#explode:{{{DungeonDrop}}}|;|1}}]] [[File:{{#explode:{{{DungeonDrop}}}|;|2}}]] </span> }} | |||
|Unholy_nolabel=yes | |Unholy_nolabel=yes | ||
Revision as of 06:07, 1 September 2025
CorsairConductorium-Portal.png, Corsair's Conductorium [[File:CorsairConductorium-Portal.png,
Corsair's Conductorium]]
Copy This
{{NPCInfobox
|title=
|image=.png
|SpecialInfo=
|Health=
|Fame=
|Biome=
|Tiered=
|DungeonDrop=
|Attack=
|Unholy=
|Voidbound=
|Bloodshot=
|Royal=
|Gilded=
|Irradiated=
|Halloween=
|Christmas=
|Valentine=
|Companion=
|Rune=
|Frag=
|Required=
|Solo=
}}Example Shown
{{NPCInfobox
|title=john telos;christos anesti
|image=Site-logo.png;OphanimBossbar
|SpecialInfo=I'm specialising it bro
|Health=67
|Fame=2321541414234
|Biome=Optional, can put for world bosses
|Tiered=7-11
|DungeonDrop=Corsair's Conductorium;CorsairConductorium-Portal.png,
Corsair's Conductorium;CorsairConductorium-Portal.png,
Corsair's Conductorium;CorsairConductorium-Portal.png
|Attack=#loidza
|Unholy=Weapons;Crown;Ut-Crown.png;3
|Voidbound=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Bloodshot=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Royal=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3,
Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Gilded=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3,
Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3,
Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Irradiated=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Halloween=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Christmas=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Valentine=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Companion=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Rune=Weapons;Crown Of Ethereal Radiance;Ut-Crown.png;3
|Frag=Bloodshot;25
|Required=41
|Solo=67
}}Breakdown
Everything is pretty self explanatory, but items are inputted like so:
DirectedPage;ItemName;File.png;PercentValue
Use a comma to add on more items in that category like so:DirectedPage;ItemName;File.png;PercentValue,DirectedPage2;ItemName2;File2.png;PercentValue2
For dungeon drops:DirectedPage;File.png
For titles:title;subtitle (you can also exclude the subtitle and just have |title=title)
For fragments:Rarity;PercentValue (Bloodshot, Royal, Gilded, Irradiated)
DirectedPage is the page that the link will lead to, Item name is the the name that will be displayed, File.png is just the file name (DON'T USE FILE LINK LIKE [file.png]]), Percent value is the drop chance for the item (ONLY INCLUDE THE NUMBER, NOT % SYMBOL).