Template:SkillNode: Difference between revisions
From IdleOn MMO Wiki
mNo edit summary |
mNo edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><infobox> | <includeonly><infobox> | ||
<title> | <title> | ||
Line 34: | Line 11: | ||
<format>{{Skillicon|{{{skill}}}|y}}</format> | <format>{{Skillicon|{{{skill}}}|y}}</format> | ||
</data> | </data> | ||
<group layout="horizontal"> | |||
<data source="skilleff"> | |||
<label>5% Efficiency</label> | |||
<format>{{Numdisplay|{{#expr:{{{skilleff|}}}/40}}}}</format> | |||
</data> | |||
<data source="skilleff"> | |||
<label>100% Efficiency</label> | |||
<format>{{Numdisplay|{{{skilleff|}}}}}</format> | |||
</data> | |||
</group> | |||
<data source="baseexp"> | <data source="baseexp"> | ||
<label>Base EXP</label> | <label>Base EXP</label> | ||
Line 45: | Line 28: | ||
<format>{{CraftReq|{{{item|}}}|24px}}</format> | <format>{{CraftReq|{{{item|}}}|24px}}</format> | ||
</data> | </data> | ||
<group name="CardSection"> | |||
<header>Card Info</header> | <header>Card Info</header> | ||
<data source=" | <data source="hascard"> | ||
<label>Card</label> | <label>Card</label> | ||
<format> | <format>{{CraftReq|{{{item|}}} Card}}</format> | ||
</data> | </data> | ||
<data source=" | <data source="hascard"> | ||
<label>Effect</label> | <label>Effect</label> | ||
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:effect|title={{{item}}} 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=" | <data source="hascard"> | ||
<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> | <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=" | <data source="hascard"> | ||
<label>Category</label> | <label>Category</label> | ||
<format>{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:category|title={{{item}}} 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=" | <data source="hascard"> | ||
<label>Dropchance</label> | <label>Dropchance</label> | ||
<format>{{Chancedisplay|{{#dpl:|uses=Template:InfoCard|includepage={InfoCard}:dropchance|title={{{item}}} 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> | ||
<header>Location</header> | <header>Location</header> | ||
<data source="location"> | <data source="location"> | ||
<label>Area</label> | <label>Area</label> | ||
<default>Unknown</default> | <default>Unknown</default> | ||
<format> | <format>{{Area|{{{location}}}}}</format> | ||
</data> | </data> | ||
</infobox></includeonly><noinclude> Template to display skill nodes on their individual pages. Call as such: | </infobox>[[Category:{{{skill}}}]]</includeonly><noinclude> Template to display skill nodes on their individual pages. Call as such: | ||
<pre> | <pre> | ||
{{SkillNode | {{SkillNode | ||
|skill= the required skill to use this node. | |skill= the required skill to use this node. | ||
|skilleff= The minimum Skill Efficiency to produce an item. | |skilleff= The minimum Skill Efficiency to produce an item. | ||
|baseexp= The | |baseexp= The amount of EXP received. | ||
|item= The item produced from this skill node. | |item= The item produced from this skill node. | ||
|location= The location that this skill node is found in. | |location= The location that this skill node is found in. | ||
}}</pre></noinclude> | }}</pre>[[Category:Infobox templates]]</noinclude> |
Latest revision as of 05:59, 20 July 2024
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 amount of EXP received. |item= The item produced from this skill node. |location= The location that this skill node is found in. }}