Template:SkillNode: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 30: Line 30:
         <data source="item">
         <data source="item">
<label>Card</label>
<label>Card</label>
<format>[[File:{{{item}}} Card.png|24px]] [[{{PAGENAME}} Card]]</format>
<format>[[File:{{{item}}} Card.png|24px]] [[{{{item}}} Card]]</format>
</data>
</data>
<data source="item">
<data source="item">
<label>Effect</label>
<label>Effect</label>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{{item}}} Card|count=1|mode=inline|format=,}}</format>
</data>
</data>
<data source="item">
<data source="item">
<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|title={{{item}}} 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>
</data>
</data>
<data source="item">
<data source="item">
<label>Category</label>
<label>Category</label>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}</format>
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{{item}}} Card|count=1|mode=inline|format=,}}</format>
</data>
</data>
     <data source="item">
     <data source="item">
<label>Dropchance</label>
<label>Dropchance</label>
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{PAGENAME}} Card|count=1|mode=inline|format=,}}}}</format>
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{{item}}} Card|count=1|mode=inline|format=,}}}}</format>
</data>
</data>
     </group>
     </group>

Revision as of 01:02, 9 February 2023

Template to display skill nodes on their individual pages. Call as such:
{{SkillNode
 |skill= the required skill to use this node.
 |skilleff= The minimum Skill Efficiency to produce an item.
 |baseexp= The ammount of EXP recieved.
 |item= The item produced from this skill node.
 |location= The location that this skill node is found in.
}}