Template:InfoSkill: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
mNo edit summary
 
(9 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>{{ClassIcon|{{{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|link={{{stat}}}]]&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|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>
{{InfoSkill
    <data source="subpages">
|class=class
<label>Subpages</label>
|stat=Wisdom
        <format>{{Special:PrefixIndex/{{PAGENAME}}/|stripprefix=yes}}</format>
|staticon=Book Of The Wise
</data>
|tool=tool type
</infobox>[[Category:Skills]][[Category:{{PAGENAME}}]]</includeonly><noinclude>
<pre>{{InfoSkill
|class=class (optional)
|stat=stat (optional)
|tool=tool type (optional)
|toolicon=tool
|toolicon=tool
|type=type (required)
|type=type (required)
|world=world (required)
|world=world (required)
|subpages=yes (optional)
|subpages=yes (optional)
}}
}}</pre>
[[Category:Infobox templates]]</noinclude>
[[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)
}}