imported>Dawning Dawning renamed page Template:BossInfobox/doc to Template:NPCInfobox/doc: Generalizing: this infobox will be used for all NPCs |
the mass documenting Tags: Removed redirect Reverted |
||
| Line 1: | Line 1: | ||
'''[[Template:BossInfobox]] is a redirect to [[Template:NPCInfobox]]''' — calling <code>{{BossInfobox|…}}</code> is identical to calling <code>{{NPCInfobox|…}}</code> and takes the same parameters. It builds the boss/NPC card (render + bossbar, health, fame, restrictions, full loot tables and tier-point requirements) and runs on [[Module:Infobox]]. Prefer writing <code>{{NPCInfobox}}</code> directly; the documentation below is the same as that template's. | |||
{{BossInfobox | |||
|title = Kurvaros;The Forsaken | |||
|image = Boss-3DKurvaros.png;Bossbar-Kurvaros | |||
|SpecialInfo = Enrages below 50% HP. | |||
|Health = 1250000 | |||
|Fame = 4200 | |||
|Biome = Shadowlands | |||
|Tiered = 7-11 | |||
|DungeonDrop = Raphael's Castle;RaphaelsCastle-Portal.png | |||
|Attack = Cleaves in a wide arc, then summons three homing orbs. | |||
|Unholy = Weapons;Requiem;Ut-Requiem.png;3 | |||
|Bloodshot = Weapons;Calamity;Ut-Calamity.png;5 | |||
|Frag = Bloodshot;25 | |||
|Required = 41 | |||
|Solo = 67 | |||
}} | |||
== Breakdown == | |||
<blockquote> | |||
Most fields are plain text. The loot, dungeon-drop, title and fragment fields use a small <code>;</code>-and-<code>,</code> mini-syntax — see the patterns at the bottom. | |||
'''title''' — boss name. Add a subtitle after a semicolon: <code>title=Name;Subtitle</code> (subtitle renders smaller). Optional subtitle. | |||
'''image''' — the render plus (optionally) the bossbar image, as <code>Render;Bossbar</code>. With the new naming that is <code>Boss-3D<Name>.png;Bossbar-<Name></code>, e.g. <code>Boss-3DKurvaros.png;Bossbar-Kurvaros</code>. The first part is shown at 300px; the second (no extension needed — ".png" is appended) is shown wide above it. For non-boss NPCs use the matching render prefix: '''Mob-3D<Name>.png''', '''Pet-3D<Name>.png''', '''Mount-3D<Name>.png'''. If omitted, the site logo is used. | |||
'''SpecialInfo''' — free-text special note shown at the top with no label. Optional. | |||
'''Health''' — boss HP (labelled "HP"). '''Fame''' — Fame Given. '''Glory''' — Glory Given. '''Biome''' — optional; mainly for world bosses. '''Tiered''' — the range of tiered drops, e.g. <code>7-11</code> (labelled "Available Tiered Drops"). | |||
'''Attack''' — attack-pattern description (no label). Optional. | |||
''Class-restriction fields (optional):'' '''CWeapon''', '''CArmour''', '''CAbilities''' — weapon / armour / ability class restrictions. | |||
''Loot fields — one per rarity, each a comma-separated list of items:'' '''Unholy''', '''Voidbound''', '''Bloodshot''', '''Royal''', '''Gilded''', '''Irradiated''' (plus event pouches '''Halloween''', '''Christmas''', '''Valentine''', '''Companion''', '''Rune'''). Each item is written as four <code>;</code>-separated parts: | |||
: <code>DirectedPage;ItemName;File.png;PercentValue</code> | |||
where ''DirectedPage'' is the page the link points to, ''ItemName'' is the displayed name, ''File.png'' is the sprite filename (just the name — '''not''' a <nowiki>[[File:…]]</nowiki> link), and ''PercentValue'' is the drop chance as a bare number ('''no % sign'''). Add more items in the same rarity by separating with a comma: | |||
: <code>Page;Name;File.png;Pct,Page2;Name2;File2.png;Pct2</code> | |||
'''Frag''' — fragment drops, written <code>Rarity;PercentValue</code> (Rarity ∈ Bloodshot, Royal, Gilded, Irradiated), e.g. <code>Frag=Bloodshot;25</code>. | |||
'''DungeonDrop''' — dungeon(s) this boss can drop, each as <code>DirectedPage;File.png</code>, comma-separated for multiple (labelled "Dungeon Dropped"). | |||
'''Required''' — Required Tier Points to enter/challenge. '''Solo''' — Recommended Solo Tier Points. | |||
</blockquote> | |||
== Copy This == | |||
<syntaxhighlight lang="wikitext" style="overflow: auto;"> | |||
{{BossInfobox | |||
|title = | |||
|image = .png | |||
|SpecialInfo = | |||
|Health = | |||
|Fame = | |||
|Glory = | |||
|Biome = | |||
|Tiered = | |||
|DungeonDrop = | |||
|Attack = | |||
|CWeapon = | |||
|CArmour = | |||
|CAbilities = | |||
|Unholy = | |||
|Voidbound = | |||
|Bloodshot = | |||
|Royal = | |||
|Gilded = | |||
|Irradiated = | |||
|Halloween = | |||
|Christmas = | |||
|Valentine = | |||
|Companion = | |||
|Rune = | |||
|Frag = | |||
|Required = | |||
|Solo = | |||
}} | |||
</syntaxhighlight> | |||
== Example Shown == | |||
<syntaxhighlight lang="wikitext" style="overflow: auto;"> | |||
{{BossInfobox | |||
|title = Kurvaros;The Forsaken | |||
|image = Boss-3DKurvaros.png;Bossbar-Kurvaros | |||
|SpecialInfo = Enrages below 50% HP. | |||
|Health = 1250000 | |||
|Fame = 4200 | |||
|Biome = Shadowlands | |||
|Tiered = 7-11 | |||
|DungeonDrop = Raphael's Castle;RaphaelsCastle-Portal.png | |||
|Attack = Cleaves in a wide arc, then summons three homing orbs. | |||
|Unholy = Weapons;Requiem;Ut-Requiem.png;3 | |||
|Bloodshot = Weapons;Calamity;Ut-Calamity.png;5, | |||
Weapons;Dusk Weaver;Ut-DuskWeaver.png;5 | |||
|Frag = Bloodshot;25 | |||
|Required = 41 | |||
|Solo = 67 | |||
}} | |||
</syntaxhighlight> | |||
<br clear="both"> | |||
Revision as of 11:55, 20 June 2026
Template:BossInfobox is a redirect to Template:NPCInfobox — calling

is identical to calling

and takes the same parameters. It builds the boss/NPC card (render + bossbar, health, fame, restrictions, full loot tables and tier-point requirements) and runs on Module:Infobox. Prefer writing

directly; the documentation below is the same as that template's.
The Forsaken

Breakdown
Most fields are plain text. The loot, dungeon-drop, title and fragment fields use a small
;-and-,mini-syntax — see the patterns at the bottom.title — boss name. Add a subtitle after a semicolon:
title=Name;Subtitle(subtitle renders smaller). Optional subtitle.image — the render plus (optionally) the bossbar image, as
Render;Bossbar. With the new naming that isBoss-3D<Name>.png;Bossbar-<Name>, e.g.Boss-3DKurvaros.png;Bossbar-Kurvaros. The first part is shown at 300px; the second (no extension needed — ".png" is appended) is shown wide above it. For non-boss NPCs use the matching render prefix: Mob-3D<Name>.png, Pet-3D<Name>.png, Mount-3D<Name>.png. If omitted, the site logo is used.SpecialInfo — free-text special note shown at the top with no label. Optional.
Health — boss HP (labelled "HP"). Fame — Fame Given. Glory — Glory Given. Biome — optional; mainly for world bosses. Tiered — the range of tiered drops, e.g.
7-11(labelled "Available Tiered Drops").Attack — attack-pattern description (no label). Optional.
Class-restriction fields (optional): CWeapon, CArmour, CAbilities — weapon / armour / ability class restrictions.
Loot fields — one per rarity, each a comma-separated list of items: Unholy, Voidbound, Bloodshot, Royal, Gilded, Irradiated (plus event pouches Halloween, Christmas, Valentine, Companion, Rune). Each item is written as four
;-separated parts:
DirectedPage;ItemName;File.png;PercentValuewhere DirectedPage is the page the link points to, ItemName is the displayed name, File.png is the sprite filename (just the name — not a [[File:…]] link), and PercentValue is the drop chance as a bare number (no % sign). Add more items in the same rarity by separating with a comma:
Page;Name;File.png;Pct,Page2;Name2;File2.png;Pct2Frag — fragment drops, written
Rarity;PercentValue(Rarity ∈ Bloodshot, Royal, Gilded, Irradiated), e.g.Frag=Bloodshot;25.DungeonDrop — dungeon(s) this boss can drop, each as
DirectedPage;File.png, comma-separated for multiple (labelled "Dungeon Dropped").Required — Required Tier Points to enter/challenge. Solo — Recommended Solo Tier Points.
Copy This
{{BossInfobox
|title =
|image = .png
|SpecialInfo =
|Health =
|Fame =
|Glory =
|Biome =
|Tiered =
|DungeonDrop =
|Attack =
|CWeapon =
|CArmour =
|CAbilities =
|Unholy =
|Voidbound =
|Bloodshot =
|Royal =
|Gilded =
|Irradiated =
|Halloween =
|Christmas =
|Valentine =
|Companion =
|Rune =
|Frag =
|Required =
|Solo =
}}Example Shown
{{BossInfobox
|title = Kurvaros;The Forsaken
|image = Boss-3DKurvaros.png;Bossbar-Kurvaros
|SpecialInfo = Enrages below 50% HP.
|Health = 1250000
|Fame = 4200
|Biome = Shadowlands
|Tiered = 7-11
|DungeonDrop = Raphael's Castle;RaphaelsCastle-Portal.png
|Attack = Cleaves in a wide arc, then summons three homing orbs.
|Unholy = Weapons;Requiem;Ut-Requiem.png;3
|Bloodshot = Weapons;Calamity;Ut-Calamity.png;5,
Weapons;Dusk Weaver;Ut-DuskWeaver.png;5
|Frag = Bloodshot;25
|Required = 41
|Solo = 67
}}