Template:Boss: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(63 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{| class="Infobox"
<includeonly><infobox>
|-
<title>
! colspan="3" class="Header" | {{{title|{{PAGENAME}}}}}
<default>{{PAGENAME}}</default>
|-
</title>
| colspan="3" class="HeaderImage" | [[file:{{{title|{{PAGENAME}}}}} (boss).png|125px]]
    <panel>
|-
    <section>
|
        <label>Normal</label>
<tabber>
<image source="image">
Normal=
        <default>[[File:{{PAGENAME}} (boss).png]]</default>
{|
    </image>
! colspan="2" class="SubHeader" | Stats
    <group name="NormalStats" row-items="2">
|-
        <header>Boss Stats</header>
! Health
<data source="1health">
| {{{1health|Undefined}}}
<label>{{Icons|HP Icon|18|text=Health}}</label>
|-
            <format>{{Numdisplay|{{{1health | }}}}}</format>
! Accuracy 5%
</data>
| {{#if:{{{def1|}}}|{{#expr: {{{def1}}}*0.5}}|Defence Undefined}}
            <data source="1exp">
|-
<label>Experience</label>
! Accuracy 100%
            <format>{{Numdisplay|{{{1exp | }}}}}</format>
| {{#if:{{{def1|}}}|{{#expr: {{{def1}}}*1.5}}|Defence Undefined}}
</data>
|-
        <data source="def1">
! Experience
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
| {{{1exp|Undefined}}}
            <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
|-
</data>
! colspan="2" class="SubHeader" | Attacks
        <data source="def1">
|-
<label>100% Accuracy</label>
! {{{attack1}}}
            <format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format>
| {{{1dmg1|Undefined}}}
</data>
|-
        </group>
! {{{attack2}}}
        <group name="NormalAttacks">
| {{{1dmg2|Undefined}}}
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
|-
        <data source="NormalDamages">
! {{{attack3}}}
            <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
| {{{1dmg3|Undefined}}}
        </data>
|-
    </group>
! {{{attack4}}}
    <group name="NormalCard">
| {{{1dmg4|Undefined}}}
        <header>Card Info</header>
|-
<data source="hascard">
! {{{attack5}}}
<label>Card</label>
| {{{1dmg5|Undefined}}}
<format>{{CraftReq|{{PAGENAME}} Card|24px}}</format>
|-
</data>
! {{{attack6}}}
<data source="hascard">
| {{{1dmg6|Undefined}}}
<label>Effect</label>
|-
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format>
! {{{attack7}}}
</data>
| {{{1dmg7|Undefined}}}
<data source="hascard">
|-
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus:bonus|title={{PAGENAME}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, [[File:Star0.png|class=CardStar|link=]], [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]], [[File:Star5.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 --{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}², <!-- Star5 -->²{#expr:%% * 6}²}}</format>
{{#ifeq: {{{hascard}}}|yes|{{#dpl:
</data>
|namespace=
<data source="hascard">
|category=Cards
<label>Category</label>
|uses=Template:InfoCard
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format>
|include={InfoCard}/boxrow
</data>
|includematch=*{{PAGENAME}} Normal*
    <data source="hascard">
|format=,,
<label>Dropchance</label>
|allowcachedresults=true
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}}}</format>
}}}}
</data>
|}
    </group>
|-|
    </section>
Chaotic=
    <section>
{|
        <label>Chaotic</label>
! colspan="2" class="SubHeader" | Stats
<image source="image">
|-
        <default>[[File:{{PAGENAME}} (Chaotic boss).png]]</default>
! Health
    </image>
| {{{2health|Undefined}}}
    <group name="ChaoticStats" row-items="2">
|-
        <header>Chaotic Boss Stats</header>
! Accuracy 5%
<data source="2health">
| {{#if:{{{def2|}}}|{{#expr: {{{def2}}}*0.5}}|Defence Undefined}}
<label>{{Icons|HP Icon|18|text=Health}}</label>
|-
            <format>{{Numdisplay|{{{2health | }}}}}</format>
! Accuracy 100%
</data>
| {{#if:{{{def2|}}}|{{#expr: {{{def2}}}*1.5}}|Defence Undefined}}
            <data source="2exp">
|-
<label>Experience</label>
! Experience
            <format>{{Numdisplay|{{{2exp | }}}}}</format>
| {{{2exp|Undefined}}}
</data>
|-
        <data source="def2">
! colspan="2" class="SubHeader" | Attacks
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
|-
            <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
! {{{attack1}}}
</data>
| {{{2dmg1|Undefined}}}
        <data source="def2">
|-
<label>100% Accuracy</label>
! {{{attack2}}}
            <format>{{Numdisplay|{{#expr: {{{def2}}}*1.5}}}}</format>
| {{{2dmg2|Undefined}}}
</data>
|-
        </group>
! {{{attack3}}}
        <group name="ChaoticAttacks">
| {{{2dmg3|Undefined}}}
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
|-
        <data source="ChaoticDamages">
! {{{attack4}}}
            <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{ChaoticDamages|}}}}}</format>
| {{{2dmg4|Undefined}}}
        </data>
|-
    </group>
! {{{attack5}}}
    <group name="ChaoticCard">
| {{{2dmg5|Undefined}}}
        <header>Card Info</header>
|-
<data source="hascard">
! {{{attack6}}}
<label>Card</label>
| {{{2dmg6|Undefined}}}
<format>{{CraftReq|Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|24px}}</format>
|-
</data>
! {{{attack7}}}
<data source="hascard">
| {{{2dmg7|Undefined}}}
<label>Effect</label>
|-
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title=Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}</format>
{{#ifeq: {{{hascard}}}|yes|{{#dpl:
</data>
|namespace=
<data source="hascard">
|category=Cards
                <format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus:bonus|title=Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, [[File:Star0.png|class=CardStar|link=]], [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]], [[File:Star5.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}², <!-- Star5 -->²{#expr:%% * 6}²}}</format>
|uses=Template:InfoCard
</data>
|include={InfoCard}/boxrow
<data source="hascard">
|includematch=*{{PAGENAME}} Chaotic*
<label>Category</label>
|format=,,
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title=Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}</format>
|allowcachedresults=true
</data>
}}}}
    <data source="hascard">
|}
<label>Dropchance</label>
|-|
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title=Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}}}</format>
Nightmare=
</data>
{|
    </group>
! colspan="2" class="SubHeader" | Stats
    </section>
|-
    <section>
! Health
        <label>{{{3rdName|Nightmare}}}</label>
| {{{3health|Undefined}}}
<image source="image">
|-
        <default>[[File:{{PAGENAME}} (Nightmare boss).png]]</default>
! Accuracy 5%
    </image>
| {{#if:{{{def3|}}}|{{#expr: {{{def3}}}*0.5}}|Defence Undefined}}
    <group name="NightmareStats" row-items="2">
|-
        <header>{{{3rdName|Nightmare}}} Boss Stats</header>
! Accuracy 100%
<data source="3health">
| {{#if:{{{def3|}}}|{{#expr: {{{def3}}}*0.5}}|Defence Undefined}}
<label>{{Icons|HP Icon|18|text=Health}}</label>
|-
            <format>{{Numdisplay|{{{3health | }}}}}</format>
! Experience
</data>
| {{{3exp|Undefined}}}
            <data source="3exp">
|-
<label>Experience</label>
! colspan="2" class="SubHeader" | Attacks
            <format>{{Numdisplay|{{{3exp | }}}}}</format>
|-
</data>
! {{{attack1}}}
        <data source="def3">
| {{{3dmg1|Undefined}}}
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
|-
            <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
! {{{attack2}}}
</data>
| {{{3dmg2|Undefined}}}
        <data source="def3">
|-
<label>100% Accuracy</label>
! {{{attack3}}}
            <format>{{Numdisplay|{{#expr: {{{def3}}}*1.5}}}}</format>
| {{{3dmg3|Undefined}}}
</data>
|-
        </group>
! {{{attack4}}}
        <group name="NightmareAttacks">
| {{{3dmg4|Undefined}}}
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
|-
        <data source="NightmareDamages">
! {{{attack5}}}
            <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NightmareDamages|}}}}}</format>
| {{{3dmg5|Undefined}}}
        </data>
|-
    </group>
! {{{attack6}}}
    <group name="NightmareCard">
| {{{3dmg6|Undefined}}}
        <header>Card Info</header>
|-
<data source="hascard">
! {{{attack7}}}
<label>Card</label>
| {{{3dmg7|Undefined}}}
<format>{{CraftReq|{{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|24px}}</format>
|-
</data>
{{#ifeq: {{{hascard}}}|yes|{{#dpl:  
<data source="hascard">
|namespace=
<label>Effect</label>
|category=Cards
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}</format>
|uses=Template:InfoCard
</data>
|include={InfoCard}/boxrow
<data source="hascard">
|includematch=*{{PAGENAME}} Nightmare*
                <format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus:bonus|title={{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, [[File:Star0.png|class=CardStar|link=]], [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]], [[File:Star5.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}², <!-- Star5 -->²{#expr:%% * 6}²}}</format>
|format=,,
</data>
|allowcachedresults=true
<data source="hascard">
}}}}
<label>Category</label>
|}
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}</format>
</tabber>
</data>
{|
    <data source="hascard">
! colspan="2" class="SubHeader" | Location
<label>Dropchance</label>
|-
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}}}</format>
!World
</data>
|{{{world}}}
    </group>
|-
    </section>
! style="border-radius: 0 0 0 0.4em;" | Area
    </panel>
|[[Worlds#{{{area}}}|{{{area}}}]]
    <group name="Location">
|}
    <header>Location</header>
|}
    <data source="world">
</includeonly><noinclude>
<label>World</label>
</data>
    <data source="area">
<label>Area</label>
            <format>{{Area|{{{area|}}}}}</format>
</data>
    </group>
</infobox>{{#invoke:EnemyNav|BuildNav|Type=Boss|Enemy={{PAGENAME}}}}[[Category:World Bosses]]</includeonly><noinclude>
<pre>
<pre>
Usage:
Usage:
Line 181: Line 188:
|def2=example
|def2=example
|def3=example
|def3=example
|attack1=example
|AttackList=<attack name 1>, <attack name 2>, <attack name 3>..etc
|attack2=example
|NormalDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the normal version of the boss
|attack3=example
|ChaoticDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the chaotic version of the boss
|attack4=example
|NightmareDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the nightmare version of the boss
|attack5=example
|prevenemy=example (previous monster for navigation)
|attack6=example
|nextenemy=example (next monster for navigation)
|attack7=example
|1dmg1=example
|2dmg1=example
|3dmg1=example
|1dmg2=example
|2dmg2=example
|3dmg2=example
|1dmg3=example
|2dmg3=example
|3dmg3=example
|1dmg4=example
|2dmg4=example
|3dmg4=example
|1dmg5=example
|2dmg5=example
|3dmg5=example
|1dmg6=example
|2dmg6=example
|3dmg6=example
|1dmg7=example
|2dmg7=example
|3dmg7=example
}}
}}
</pre>
</pre>
[[category:infobox templates]]
[[category:infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 08:17, 27 July 2024

Usage:
Attack1-7 is for the name of the attack. The first number of health, exp, accurary and dmg defined the difficulty. 1 for normal. 2 for chaotic, 3 for nightmare. 
{{boss
|1health=example
|2health=example
|3health=example
|1exp=example
|2exp=example
|3exp=example
|def1=example
|def2=example
|def3=example
|AttackList=<attack name 1>, <attack name 2>, <attack name 3>..etc
|NormalDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the normal version of the boss
|ChaoticDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the chaotic version of the boss
|NightmareDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the nightmare version of the boss
|prevenemy=example (previous monster for navigation)
|nextenemy=example (next monster for navigation)
}}