Template:Boss: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(93 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><infobox>
<div class="infobox">
<title>
<table><th class="header">{{{title|{{PAGENAME}}}}}</th></table>
<default>{{PAGENAME}}</default>
<div class="infobox-image">[[File:{{PAGENAME}} (boss).png|100px]]</div>
</title>
<div style="font-size: 80%; font-style: italic; text-align: center;">{{{caption|}}}</div>
    <panel>
<div style="center">{{tabs
    <section>
|tab1=Normal
        <label>Normal</label>
|tab1content={{boss/stats|1health={{{1health}}}|1exp={{{1exp}}}|1accuracy5={{{1accuracy5}}}|1accuracy100={{{1accuracy100}}}|1dmg1={{{1dmg1}}}|1dmg2={{{1dmg2}}}|1dmg3={{{1dmg3}}}|1dmg4={{{1dmg4}}}||1dmg5={{{1dmg5}}}||1dmg6={{{1dmg6}}}||1dmg7={{{1dmg7}}}|attack1={{{attack1}}}|attack2={{{attack2}}}|attack3={{{attack3}}}|attack4={{{attack4}}}|attack5={{{attack5}}}|attack6={{{attack6}}}|attack7={{{attack7}}}|diff=1}}{{#ifeq: {{{hascard}}}|yes|<table>{{card|category={{{category}}}|effect={{{effect}}}|bonus1={{{1bonus1}}}|bonus2={{{1bonus2}}}|bonus3={{{1bonus3}}}|bonus4={{{1bonus4}}}}}</table>}}
<image source="image">
|tab2=Chaotic
        <default>[[File:{{PAGENAME}} (boss).png]]</default>
|tab2content={{boss/stats|2health={{{2health}}}|2exp={{{2exp}}}|2accuracy5={{{2accuracy5}}}|2accuracy100={{{2accuracy100}}}|2dmg1={{{2dmg1}}}|2dmg2={{{2dmg2}}}|2dmg3={{{2dmg3}}}|2dmg4={{{2dmg4}}}||2dmg5={{{2dmg5}}}||2dmg6={{{2dmg6}}}||2dmg7={{{2dmg7}}}|attack1={{{attack1}}}|attack2={{{attack2}}}|attack3={{{attack3}}}|attack4={{{attack4}}}|attack5={{{attack5}}}|attack6={{{attack6}}}|attack7={{{attack7}}}|diff=2}}{{#ifeq: {{{hascard}}}|yes|<table>{{card|category={{{category}}}|effect={{{effect}}}|bonus1={{{2bonus1}}}|bonus2={{{2bonus2}}}|bonus3={{{2bonus3}}}|bonus4={{{2bonus4}}}}}</table>}}
    </image>
|tab3=Nightmare
    <group name="NormalStats" row-items="2">
|tab3content={{boss/stats|3health={{{3health}}}|3exp={{{3exp}}}|3accuracy5={{{3accuracy5}}}|3accuracy100={{{3accuracy100}}}|3dmg1={{{3dmg1}}}|3dmg2={{{3dmg2}}}|3dmg3={{{3dmg3}}}|3dmg4={{{3dmg4}}}||3dmg5={{{3dmg5}}}||3dmg6={{{3dmg6}}}||3dmg7={{{3dmg7}}}|attack1={{{attack1}}}|attack2={{{attack2}}}|attack3={{{attack3}}}|attack4={{{attack4}}}|attack5={{{attack5}}}|attack6={{{attack6}}}|attack7={{{attack7}}}|diff=3}}{{#ifeq: {{{hascard}}}|yes|<table>{{card|category={{{category}}}|effect={{{effect}}}|bonus1={{{3bonus1}}}|bonus2={{{3bonus2}}}|bonus3={{{3bonus3}}}|bonus4={{{3bonus4}}}}}</table>}}
        <header>Boss Stats</header>
}}</div>
<data source="1health">
<table>
<label>{{Icons|HP Icon|18|text=Health}}</label>
    <th class="subheader" colspan="2">Location</th>
            <format>{{Numdisplay|{{{1health | }}}}}</format>
    </tr>
</data>
    <th>World</th>
            <data source="1exp">
    <td>{{{world}}}</td>
<label>Experience</label>
    </tr>
            <format>{{Numdisplay|{{{1exp | }}}}}</format>
    <th style="border-radius: 0 0 0 0.4em">Area</th>
</data>
    <td>{{{area}}}</td>
        <data source="def1">
</tr></table>
<label>{{Icons|Accuracy Icon|15|text=5% Accuracy}}</label>
</div>
            <format>{{Numdisplay|{{#expr: {{{def1}}}*0.5}}}}</format>
[[File:Backarrow.png|15px]][[Bosses]]
</data>
</includeonly>
        <data source="def1">
<noinclude>
<label>100% Accuracy</label>
            <format>{{Numdisplay|{{#expr: {{{def1}}}*1.5}}}}</format>
</data>
        </group>
        <group name="NormalAttacks">
        <header>{{Icons|Attack Icon|17|text=Attacks}}</header>
        <data source="NormalDamages">
            <format>{{#invoke:Boss|bossAttacksInfoBox|attackList={{{AttackList|}}}|damageList={{{NormalDamages|}}}}}</format>
        </data>
    </group>
    <group name="NormalCard">
        <header>Card Info</header>
<data source="hascard">
<label>Card</label>
<format>{{CraftReq|{{PAGENAME}} Card|24px}}</format>
</data>
<data source="hascard">
<label>Effect</label>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{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={{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={{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={{PAGENAME}} Card|count=1|mode=inline|format=,}}}}</format>
</data>
    </group>
    </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>
<pre>
Usage:
Usage:
Line 35: Line 185:
|2exp=example
|2exp=example
|3exp=example
|3exp=example
|1accuracy5=example
|def1=example
|2accuracy5=example
|def2=example
|3accuracy5=example
|def3=example
|1accuracy100=example
|AttackList=<attack name 1>, <attack name 2>, <attack name 3>..etc
|2accuracy100=example
|NormalDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the normal version of the boss
|3accuracy100=example
|ChaoticDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the chaotic version of the boss
|attack1=example
|NightmareDamages=<attack 1 dmg>, <attack 2 dmg>.. etc for the nightmare version of the boss
|attack2=example
|prevenemy=example (previous monster for navigation)
|attack3=example
|nextenemy=example (next monster for navigation)
|attack4=example
|attack5=example
|attack6=example
|attack7=example
|1dmg1=example
|2dmg1=example
|3dmg1=example
|1dmg2=example
|2dmg2=example
|3dmg3=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
|1effect=example <-- Card info starts here.
|2effect=example
|3effect=example
|1bonus1=example
|2bonus1=example
|3bonus1=example
|1bonus1=example
|2bonus2=example
|3bonus2=example
|1bonus1=example
|2bonus3=example
|3bonus3=example
|1bonus4=example
|2bonus4=example
|3bonus4=example <-- Card info ends here.
|location=example
|area=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)
}}