Template:InfoSkill: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="Infobox">
<includeonly><infobox theme="skillinfo">
<div class="Header">{{PAGENAME}}</div>
<title>
<div class="HeaderImage" style="padding:2px 0 0">[[File:{{PAGENAME}}_Banner.png]]</div>
<default>[[File:{{PAGENAME}} Skill Icon.png|30px|link=]] {{PAGENAME}}</default>
<div class="SubHeader">Skill Info</div>
</title>
<dl>
<image>
{{#if: {{{class|}}} |
        <default>[[File:{{PAGENAME}}_Banner.png]]</default>
<dt>Class</dt>
    </image>
<dd>[[File:{{{class}}} Classicon.png|24px]]&nbsp;[[{{{class}}}]]</dd>
    <header>Skill Info</header>
}}
<data source="class">
{{#if: {{{stat|}}} |
<label>Class</label>
<dt>Main Stat</dt>
        <format>{{ClassIcon|{{{class}}}|y}}</format>
<dd>[[File:{{{staticon}}}.png|24px]]&nbsp;[[{{{stat}}}]]</dd>
</data>
}}
<data source="stat">
{{#if: {{{tool|}}} |
<label>Main Stat</label>
<dt>Tool</dt>
        <format>{{StatIcon|{{{stat}}}}}</format>
<dd>[[File:{{{toolicon}}}.png|24px]]&nbsp;[[#{{{tool}}}|{{{tool}}}]]</dd>
</data>
}}
<data source="tool">
<dt>Skill Type</dt>
<label>Tool</label>
<dd>{{{type|}}}</dd>
        <format>[[File:{{{toolicon}}}.png|24px|link=#{{{tool}}}]]&nbsp;[[#{{{tool}}}|{{{tool}}}]]</format>
<dt>World</dt>
</data>
<dd>[[Worlds#{{{world|}}}|{{{world|}}}]]</dd>
<data source="type">
{{#if: {{{subpages|}}} |
<label>Skill Type</label>
<dt>Subpages</dt>
</data>
<dd>{{Special:PrefixIndex/{{PAGENAME}}/|stripprefix=yes}}</dd>
    <data source="world">
}}
<label>World</label>
</dl>
        <format>[[Worlds#{{{world|}}}|{{{world|}}}]]</format>
{{#if: {{{hascard|}}} | {{#cargo_query:tables=Cards
</data>
|fields=CardOrder=order, Category=category, Effect=effect, Bonus=bonus, DropChance=dropchance
    <data source="subpages">
|where= Title LIKE "{{PAGENAME}}" OR Title LIKE "{{PAGENAME}} Card"
<label>Subpages</label>
|format=template
        <format>{{Special:PrefixIndex/{{PAGENAME}}/|stripprefix=yes}}</format>
|template=InfoCard/boxrow
</data>
|named args=yes
</infobox>[[Category:Skills]][[Category:{{PAGENAME}}]]</includeonly><noinclude>
|default=
<pre>{{InfoSkill
}}
|class=class (optional)
}}
|stat=stat (optional)
</div></includeonly><noinclude>[[Category:Infobox templates]]</noinclude>
|tool=tool type (optional)
|toolicon=tool
|type=type (required)
|world=world (required)
|subpages=yes (optional)
}}</pre>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 03:17, 4 March 2023

{{InfoSkill
|class=class (optional)
|stat=stat (optional)
|tool=tool type (optional)
|toolicon=tool
|type=type (required)
|world=world (required)
|subpages=yes (optional)
}}