Template:Ability Infobox: Difference between revisions
Chopping up the HSR ability template to make this. Massive WIP |
mNo edit summary |
||
| (10 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly | <includeonly><infobox theme="image-darkbg"> | ||
<title source="title"> | <title source="title"> | ||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<image source="image"> | |||
<caption source="caption"/> | |||
</image> | |||
<data source="character"> | |||
<label>Character</label> | |||
<format>[[{{{character}}}]]</format> | |||
</data> | |||
<data source="type"> | |||
<label>Type</label> | |||
<format>[[{{{type}}}]]</format> | |||
</data> | |||
<group layout="horizontal"> | |||
<data source="energyCost"> | |||
<label>Energy Cost</label> | |||
</data> | |||
<data source="energyRe"> | |||
<label>Energy Regen</label> | |||
</data> | |||
<data source="energyIni"> | |||
<label>Initial Energy</label> | |||
</data> | |||
</group> | |||
<group> | |||
<panel> | |||
<section> | |||
<label>Description</label> | |||
<data source="desc"/> | |||
</section> | |||
<section> | |||
<label>Details</label> | |||
<data source="scale_att"> | |||
<format>'''Scaling'''<br/>{{Array|{{{scale_att|}}}|;|* [[{item}]] {newline}<!---->}}</format> | |||
</data> | |||
<data source="utility"> | |||
<format>'''Utility'''<br/>{{Array|{{{utility|}}}|;|* [[{item}]] {newline}<!---->}}</format> | |||
</data> | |||
</section> | |||
</panel> | |||
</group> | </group> | ||
</infobox><!-- | </infobox><!-- | ||
Auto-Categorize Only in Main Namespace | |||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
Display Title | |||
-->{{#ifeq:{{NAMESPACE}}||<!-- | |||
-->{{#if:{{{title|}}}{{{displaytitle|}}}|{{#ifeq:{{PAGENAME}}|{{{title}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{title}}}}}}|noreplace}}}}}}}}<!-- | |||
-->}}<!-- | |||
Type | |||
-->{{#ifeq:{{{type}}}|Bonus Ability<!-- | -->{{#ifeq:{{{type}}}|Bonus Ability<!-- | ||
-->|<!-- | -->|<!-- | ||
| Line 67: | Line 56: | ||
-->|Exploration Ability = 4<!-- | -->|Exploration Ability = 4<!-- | ||
-->|Exclusive Principle = 6<!-- | -->|Exclusive Principle = 6<!-- | ||
-->|Aspect Skill = 8<!-- | |||
-->|Eidos Skill = 9<!-- | |||
-->|Companion Skill = 10<!-- | |||
-->|#default = 20<!-- | -->|#default = 20<!-- | ||
-->}}}}}}}<!-- | -->}}}}}}}<!-- | ||
-->]]<!-- | -->]]<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{energyCost|}}}|[[Category:Energy Cost {{{energyCost}}} Skills]]}}<!-- | |||
-->{{#if:{{{energyRe|}}}|[[Category:Energy Regen {{{energyRe}}} Skills]]}}<!-- | |||
-->{{#if:{{{energyIni|}}}|[[Category:Initial Energy {{{energyIni}}} Skills]]}}<!-- | |||
-->{{#if:{{{character|}}}|[[Category:{{{character}}} Abilities]]}}<!-- | -->{{#if:{{{character|}}}|[[Category:{{{character}}} Abilities]]}}<!-- | ||
-->{{#if:{{{type|}}} | -->{{#if:{{{type|}}}|{{#switch:{{{type|}}} <!-- | ||
-->|Exploration Ability = [[Category:Exploration Abilities]] <!-- | |||
-->|#default = [[Category:{{{type}}}s]] }}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{scale_att|}}}|{{Array|{{{scale_att}}}|;|[[Category:{item} Scaling Abilities]]<!---->}}|}}<!-- | ||
-->{{#if:{{{utility|}}}|{{Array|{{{utility}}}|;|[[Category:{item} Abilities]]<!---->}}|}}<!-- | |||
-->{{#if:{{{ | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
--><noinclude>{{Documentation|type=Infobox}}</noinclude> | --><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||