Template:Boss: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(152 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Umm.. temporary template, will edit later. Saving so I don't accidently yeet the entire template becuase I forgot saving it.
<includeonly><infobox>
<includeonly>
<title>
<div class="infobox">
<default>{{PAGENAME}}</default>
<table><th class="header">{{{title|{{PAGENAME}}}}}</th></table>
</title>
<div class="infobox-image">[[File:{{PAGENAME}} (boss).png|100px]]</div>
    <panel>
<div style="font-size: 80%; font-style: italic; text-align: center;">{{{caption|}}}</div>
    <section>
<table>
        <label>Normal</label>
    <th class="subheader" colspan="2">Stats</th>
<image source="image">
     </tr>
        <default>[[File:{{PAGENAME}} (boss).png]]</default>
     <th>Attack</th>
    </image>
    <td>{{{attack}}}</td>
    <group name="NormalStats" row-items="2">
    </tr>
        <header>Boss Stats</header>
    <th>Health</th>
<data source="1health">
    <td>{{{health}}}</td>
<label>{{Icons|HP Icon|18|text=Health}}</label>
    </tr>
            <format>{{Numdisplay|{{{1health | }}}}}</format>
    <th class="subheader" colspan="2">Fighting</th>
</data>
    </tr>
            <data source="1exp">
    <th>Accuracy 5%</th>
<label>Experience</label>
    <td>{{#expr:{{{defence}}}*0.5}}</td>
            <format>{{Numdisplay|{{{1exp | }}}}}</format>
    </tr>
</data>
    <th>Accuracy 100%</th>
        <data source="def1">
    <td>{{#expr:{{{defence}}}*1.5}}</td>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
    </tr>
            <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
    <th>Experience</th>
</data>
    <td>{{{exp}}}</td>
        <data source="def1">
    </tr>
<label>100% Accuracy</label>
    <th class="subheader" colspan="2">Attacks</th>
            <format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format>
    <th>{{{Attack1}}}
</data>
    <td>{{{dmg1}}}
        </group>
    </tr>
        <group name="NormalAttacks">
    <th>{{{Attack2}}}
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
    <td>{{{dmg2}}}
        <data source="NormalDamages">
    </tr>
            <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
    <th>{{{Attack3}}}
        </data>
     <td>{{{dmg3}}}
    </group>
    </tr>
    <group name="NormalCard">
    <th>{{{Attack4}}}
        <header>Card Info</header>
    <td>{{{dmg4}}}
<data source="hascard">
    </tr>
<label>Card</label>
    <th>{{{Attack5}}}
<format>{{CraftReq|{{PAGENAME}} Card|24px}}</format>
    <td>{{{dmg5}}}
</data>
    </tr>
<data source="hascard">
    <th>{{{Attack6}}}
<label>Effect</label>
    <td>{{{dmg6}}}
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format>
    </tr>
</data>
    <th>{{{Attack7}}}
<data source="hascard">
    <td>{{{dmg7}}}
<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>
    </tr>
</data>
    <th class="subheader" colspan="2">Location</th>
<data source="hascard">
    </tr>
<label>Category</label>
    <th>World</th>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format>
    <td>[[Worlds#{{{world}}}|{{{world}}}]]</td>
</data>
     </tr>
    <data source="hascard">
     <th style="border-radius: 0 0 0 0.4em">Area</th>
<label>Dropchance</label>
    <td>{{{area}}}</td>
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}}}</format>
</tr></table>
</data>
</div>
    </group>
</includeonly>
     </section>
     <section>
        <label>Chaotic</label>
<image source="image">
        <default>[[File:{{PAGENAME}} (Chaotic boss).png]]</default>
    </image>
    <group name="ChaoticStats" row-items="2">
        <header>Chaotic Boss Stats</header>
<data source="2health">
<label>{{Icons|HP Icon|18|text=Health}}</label>
            <format>{{Numdisplay|{{{2health | }}}}}</format>
</data>
            <data source="2exp">
<label>Experience</label>
            <format>{{Numdisplay|{{{2exp | }}}}}</format>
</data>
        <data source="def2">
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
            <format>{{Numdisplay|{{#expr: {{{def2}}}*0.5}}}}</format>
</data>
        <data source="def2">
<label>100% Accuracy</label>
            <format>{{Numdisplay|{{#expr: {{{def2}}}*1.5}}}}</format>
</data>
        </group>
        <group name="ChaoticAttacks">
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
        <data source="ChaoticDamages">
            <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{ChaoticDamages|}}}}}</format>
        </data>
    </group>
    <group name="ChaoticCard">
        <header>Card Info</header>
<data source="hascard">
<label>Card</label>
<format>{{CraftReq|Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|24px}}</format>
</data>
<data source="hascard">
<label>Effect</label>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title=Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}</format>
</data>
<data source="hascard">
                <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 source="hascard">
<label>Category</label>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title=Chaotic {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}</format>
</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>
</data>
    </group>
    </section>
     <section>
        <label>{{{3rdName|Nightmare}}}</label>
<image source="image">
        <default>[[File:{{PAGENAME}} (Nightmare boss).png]]</default>
    </image>
    <group name="NightmareStats" row-items="2">
        <header>{{{3rdName|Nightmare}}} Boss Stats</header>
<data source="3health">
<label>{{Icons|HP Icon|18|text=Health}}</label>
            <format>{{Numdisplay|{{{3health | }}}}}</format>
</data>
            <data source="3exp">
<label>Experience</label>
            <format>{{Numdisplay|{{{3exp | }}}}}</format>
</data>
        <data source="def3">
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
            <format>{{Numdisplay|{{#expr: {{{def3}}}*0.5}}}}</format>
</data>
        <data source="def3">
<label>100% Accuracy</label>
            <format>{{Numdisplay|{{#expr: {{{def3}}}*1.5}}}}</format>
</data>
        </group>
        <group name="NightmareAttacks">
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
        <data source="NightmareDamages">
            <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NightmareDamages|}}}}}</format>
        </data>
    </group>
    <group name="NightmareCard">
        <header>Card Info</header>
<data source="hascard">
<label>Card</label>
<format>{{CraftReq|{{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|24px}}</format>
</data>
<data source="hascard">
<label>Effect</label>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}</format>
</data>
<data source="hascard">
                <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 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>
</data>
    <data source="hascard">
<label>Dropchance</label>
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{{3rdName|Nightmare}}} {{{nameOverride|{{PAGENAME}}}}} Card|count=1|mode=inline|format=,}}}}</format>
</data>
    </group>
    </section>
     </panel>
     <group name="Location">
    <header>Location</header>
    <data source="world">
<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>
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)
}}
</pre>
[[category:infobox templates]]
</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)
}}