Template:InfoSkill: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="Infobox">
<includeonly><infobox theme="skillinfo">
<div class="Header">[[File:{{PAGENAME}} Skill Icon.png|30px|link=]] {{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>{{ClassIcon|{{{class}}}|y}}</dd>
    <header>Skill Info</header>
}}
<data source="class">
{{#if: {{{stat|}}} |
<label>Class</label>
<dt>Main Stat</dt>
        <format>{{ClassIcon|{{{class}}}|y}}</format>
<dd>{{StatIcon|{{{stat}}}}}</dd>
</data>
}}
<data source="stat">
{{#if: {{{tool|}}} |
<label>Main Stat</label>
<dt>Tool</dt>
        <format>{{StatIcon|{{{stat}}}}}</format>
<dd>[[File:{{{toolicon}}}.png|24px|link=#{{{tool}}}]]&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>
</div></includeonly><noinclude>
</data>
    <data source="subpages">
<label>Subpages</label>
        <format>{{Special:PrefixIndex/{{PAGENAME}}/|stripprefix=yes}}</format>
</data>
</infobox>[[Category:Skills]][[Category:{{PAGENAME}}]]</includeonly><noinclude>
<pre>{{InfoSkill
<pre>{{InfoSkill
|class=class (optional)
|class=class (optional)

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)
}}