Template:Boss: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 9: Line 9:
         <default>[[File:{{PAGENAME}} (boss).png]]</default>
         <default>[[File:{{PAGENAME}} (boss).png]]</default>
     </image>
     </image>
     <group name="NormalStats">
     <group name="NormalStats" row-items="2">
         <header>Boss Stats</header>
         <header>Boss Stats</header>
<data source="1health">
<data source="1health">
<label>Health</label>
<label>{{Icons|HP Icon|18|text=Health}}</label>
             <format>{{Numdisplay|{{{1health | }}}}}</format>
             <format>{{Numdisplay|{{{1health | }}}}}</format>
</data>
            <data source="1exp">
<label>Experience</label>
            <format>{{Numdisplay|{{{1exp | }}}}}</format>
</data>
</data>
         <data source="def1">
         <data source="def1">
<label>5% Accuracy</label>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
</data>
</data>
Line 23: Line 27:
             <format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format>
</data>
</data>
        <data source="1exp">
        </group>
<label>Experience</label>
        <group name="NormalAttacks">
            <format>{{Numdisplay|{{{1exp | }}}}}</format>
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
</data>
        <header>Boss Attacks</header>
         <data source="NormalDamages">
         <data source="NormalDamages">
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
             <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
         </data>
         </data>
     </group>
     </group>
Line 36: Line 38:
<data source="hascard">
<data source="hascard">
<label>Card</label>
<label>Card</label>
<format>[[File:{{PAGENAME}} Card.png|24px]] [[{{PAGENAME}} Card]]</format>
<format>{{CraftReq|{{PAGENAME}} Card|24px}}</format>
</data>
</data>
<data source="hascard">
<data source="hascard">
Line 43: Line 45:
</data>
</data>
<data source="hascard">
<data source="hascard">
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus|title={{PAGENAME}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, Base, [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}²}}</format>
<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>
</data>
</data>
<data source="hascard">
<data source="hascard">
Line 60: Line 62:
         <default>[[File:{{PAGENAME}} (Chaotic boss).png]]</default>
         <default>[[File:{{PAGENAME}} (Chaotic boss).png]]</default>
     </image>
     </image>
     <group name="ChaoticStats">
     <group name="ChaoticStats" row-items="2">
         <header>Boss Stats</header>
         <header>Chaotic Boss Stats</header>
<data source="2health">
<data source="2health">
<label>Health</label>
<label>{{Icons|HP Icon|18|text=Health}}</label>
             <format>{{Numdisplay|{{{2health | }}}}}</format>
             <format>{{Numdisplay|{{{2health | }}}}}</format>
</data>
            <data source="2exp">
<label>Experience</label>
            <format>{{Numdisplay|{{{2exp | }}}}}</format>
</data>
</data>
         <data source="def2">
         <data source="def2">
<label>5% Accuracy</label>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
</data>
</data>
Line 74: Line 80:
             <format>{{Numdisplay|{{#expr: {{{def2}}}*1.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def2}}}*1.5}}}}</format>
</data>
</data>
        <data source="2exp">
        </group>
<label>Experience</label>
        <group name="ChaoticAttacks">
            <format>{{Numdisplay|{{{2exp | }}}}}</format>
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
</data>
        <header>Attacks</header>
         <data source="ChaoticDamages">
         <data source="ChaoticDamages">
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{ChaoticDamages|}}}}}</format>
             <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{ChaoticDamages|}}}}}</format>
         </data>
         </data>
     </group>
     </group>
Line 87: Line 91:
<data source="hascard">
<data source="hascard">
<label>Card</label>
<label>Card</label>
<format>[[File:Chaotic {{{nameOverride|{{PAGENAME}}}}} Card.png|24px]] [[Chaotic {{{nameOverride|{{PAGENAME}}}}} Card]]</format>
<format>{{CraftReq|Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|24px}}</format>
</data>
</data>
<data source="hascard">
<data source="hascard">
Line 94: Line 98:
</data>
</data>
<data source="hascard">
<data source="hascard">
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus|title=Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, Base, [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}²}}</format>
                <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>
</data>
</data>
<data source="hascard">
<data source="hascard">
Line 111: Line 115:
         <default>[[File:{{PAGENAME}} (Nightmare boss).png]]</default>
         <default>[[File:{{PAGENAME}} (Nightmare boss).png]]</default>
     </image>
     </image>
     <group name="NightmareStats">
     <group name="NightmareStats" row-items="2">
         <header>Boss Stats</header>
         <header>{{{3rdName|Nightmare}}} Boss Stats</header>
<data source="3health">
<data source="3health">
<label>Health</label>
<label>{{Icons|HP Icon|18|text=Health}}</label>
             <format>{{Numdisplay|{{{3health | }}}}}</format>
             <format>{{Numdisplay|{{{3health | }}}}}</format>
</data>
            <data source="3exp">
<label>Experience</label>
            <format>{{Numdisplay|{{{3exp | }}}}}</format>
</data>
</data>
         <data source="def3">
         <data source="def3">
<label>5% Accuracy</label>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
</data>
</data>
Line 125: Line 133:
             <format>{{Numdisplay|{{#expr: {{{def3}}}*1.5}}}}</format>
             <format>{{Numdisplay|{{#expr: {{{def3}}}*1.5}}}}</format>
</data>
</data>
        <data source="3exp">
        </group>
<label>Experience</label>
        <group name="NightmareAttacks">
            <format>{{Numdisplay|{{{3exp | }}}}}</format>
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
</data>
        <header>Attacks</header>
         <data source="NightmareDamages">
         <data source="NightmareDamages">
             <format>{{#invoke:Loops|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NightmareDamages|}}}}}</format>
             <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NightmareDamages|}}}}}</format>
         </data>
         </data>
     </group>
     </group>
Line 138: Line 144:
<data source="hascard">
<data source="hascard">
<label>Card</label>
<label>Card</label>
<format>[[File:{{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card.png|24px]] [[{{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card]]</format>
<format>{{CraftReq|{{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|24px}}</format>
</data>
</data>
<data source="hascard">
<data source="hascard">
Line 145: Line 151:
</data>
</data>
<data source="hascard">
<data source="hascard">
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:bonus:bonus:bonus:bonus:bonus|title={{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode = userformat|table = class="pi-horizontal-group",-, Base, [[File:Star1.png|class=CardStar|link=]], [[File:Star2.png|class=CardStar|link=]], [[File:Star3.png|class=CardStar|link=]], [[File:Star4.png|class=CardStar|link=]]|tablerow=%%, <!-- Star1 -->²{#expr:%% * 2}², <!-- Star2 -->²{#expr:%% * 3}², <!-- Star3 -->²{#expr:%% * 4}², <!-- Star4 -->²{#expr:%% * 5}²}}</format>
                <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>
</data>
</data>
<data source="hascard">
<data source="hascard">
Line 165: Line 171:
     <data source="area">
     <data source="area">
<label>Area</label>
<label>Area</label>
             <format>[[Worlds#{{{area|}}}|{{{area|}}}]]</format>
             <format>{{Area|{{{area|}}}}}</format>
</data>
</data>
     </group>
     </group>
</infobox>{{#if:{{{prevenemy|}}}{{{nextenemy|}}}|{{EnemyNavigation|{{{prevenemy|}}}|{{{nextenemy|}}}}}}}[[Category:World Bosses]]</includeonly><noinclude>
</infobox>{{#invoke:EnemyNav|BuildNav|Type=Boss|Enemy={{PAGENAME}}}}[[Category:World Bosses]]</includeonly><noinclude>
<pre>
<pre>
Usage:
Usage:

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)
}}