Template:Ability Infobox: Difference between revisions

category:title
m slight formatting, fix displaytitle so it doesn't change on template and doc
Line 1: Line 1:
<includeonly><!--
<includeonly><infobox theme="image-darkbg">
-->{{DISPLAYTITLE:{{{title|{{PAGENAME}}}}}}}<!--
--><infobox theme="image-darkbg">
<title source="title">
<title source="title">
    <default>{{PAGENAME}}</default>
<default>{{PAGENAME}}</default>
  </title>
</title>
  <image source="image">
<image source="image">
    <caption source="caption"/>
<caption source="caption"/>
  </image>
</image>
  <data source="character">
<data source="character">
    <label>Character</label>
<label>Character</label>
    <format>[[{{{character}}}]]</format>
<format>[[{{{character}}}]]</format>
  </data>
</data>
  <data source="type">
<data source="type">
    <label>Type</label>
<label>Type</label>
    <format>[[{{{type}}}]]</format>
<format>[[{{{type}}}]]</format>
    </data>
</data>
    <group>
<group>
<panel>
<panel>
<section>
<section>
<label>Description</label>
<label>Description</label>
<data source="desc"/>
<data source="desc"/>
</section>
</section>
<section>
<section>
<label>Details</label>
<label>Details</label>
<data source="scale_att">
<data source="scale_att">
<format>'''Scaling'''<br/>{{Array|{{{scale_att|}}}|;|* [[{item}]] {newline}<!---->}}</format>
<format>'''Scaling'''<br/>{{Array|{{{scale_att|}}}|;|* [[{item}]] {newline}<!---->}}</format>
</data>
</data>
<data source="utility">
<data source="utility">
<format>'''Utility'''<br/>{{Array|{{{utility|}}}|;|* [[{item}]] {newline}<!---->}}</format>
<format>'''Utility'''<br/>{{Array|{{{utility|}}}|;|* [[{item}]] {newline}<!---->}}</format>
</data>
</data>
</section>
</section>
</panel>
</panel>
</group>
</group>
</infobox><!--
</infobox><!--
-->{{Namespace|main=<!--
Auto-Categorize Only in Main Namespace
   -->[[Category:{{{title}}}]]<!--
-->{{Namespace|main=[[Category:{{{title}}}]]<!--
  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<!--
       -->|<!--
       -->|<!--