Template:Infobox boss: Difference between revisions
Jump to navigation
Jump to search
TeamSpecBot (talk | contribs) Infobox for boss pages |
TeamSpec theme: colours move from inline styles to MediaWiki:Common.css classes |
||
| Line 1: | Line 1: | ||
<includeonly>{| style="float:right;clear:right;width:300px;max-width:100%;box-sizing:border-box;margin:0 0 12px 16px | <includeonly>{| class="ts-infobox" style="float:right;clear:right;width:300px;max-width:100%;box-sizing:border-box;margin:0 0 12px 16px;font-size:90%;border-collapse:collapse;" | ||
|- | |- | ||
! colspan="2" style=" | ! class="ts-infobox-title" colspan="2" style="padding:6px;font-size:115%;text-align:center;" | {{{name|{{PAGENAME}}}}} | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="padding:8px;text-align:center | {{!}} class="ts-infobox-image" colspan="2" style="padding:8px;text-align:center;" {{!}} [[File:{{{image}}}|250px|{{{name|{{PAGENAME}}}}}]] | ||
}} | }} | ||
{{#if:{{{modes|}}}| | {{#if:{{{modes|}}}| | ||
| Line 28: | Line 28: | ||
{{#if:{{{stats|}}}| | {{#if:{{{stats|}}}| | ||
{{!}}- | {{!}}- | ||
! colspan="2" style=" | ! class="ts-infobox-section" colspan="2" style="padding:4px 6px;text-align:center;" {{!}} Attacks | ||
{{{stats}}} | {{{stats}}} | ||
}} | }} | ||
Latest revision as of 08:01, 20 October 2026
The box at the top right of every boss page.
Usage
{{Infobox boss
| name = Sar'Thuun
| image = Sar'Thuun.png
| modes = [[Service]]
| maps = [[Darkcove]]
| health = Set by each map
| weak_point = The great eye, double damage
| stats =
{{Stat row|Tentacle sweep|70 damage}}
}}
Parameters
name: the title. Defaults to the page name.image: a picture of the boss.modes: the game modes it appears in.maps: the maps it appears on.health: its health, or where that is set.weak_point: where it takes extra damage.stats: Stat row lines, one per attack.
Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for #if.