Main Page

Difference between revisions of "Template:UnitStatsList/Content"

From Arks-Visiphone
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<tr>{{#if: {{{HP|}}}|<td style="border: none;"><strong>HP</strong>+{{{HP}}}</td>|}}<!--
+
{{#if: {{{HP|}}}|<li class="list-inline-item"><strong>HP</strong>+{{{HP}}}</li>|}}<!--
  
-->{{#if: {{{PP|}}}|<td style="border: none;"><strong>PP</strong>+{{{PP}}}</td>|}}<!--
+
-->{{#if: {{{PP|}}}|<li class="list-inline-item"><strong>PP</strong>+{{{PP}}}</li>|}}<!--
  
-->{{#if: {{{DEX|}}}|<td style="border: none;">{{Icons|DEX}}+{{{DEX}}}</td>|}}</tr><!--
+
-->{{#if: {{{DEX|}}}|<li class="list-inline-item">{{Icons|DEX}}+{{{DEX}}}</li>|}}<!--
  
--><tr>{{#if: {{{SATK||}}}|<td style="border: none;">{{Icons|S-ATK}}+{{{SATK}}}</td>|}}<!--
+
-->{{#if: {{{SATK||}}}|<li class="list-inline-item">{{Icons|S-ATK}}+{{{SATK}}}</li>|}}<!--
  
-->{{#if: {{{RATK|}}}|<td style="border: none;">{{Icons|R-ATK}}+{{{RATK}}}</td>|}}<!--
+
-->{{#if: {{{RATK|}}}|<li class="list-inline-item">{{Icons|R-ATK}}+{{{RATK}}}</li>|}}<!--
  
-->{{#if: {{{TATK|}}}|<td style="border: none;">{{Icons|T-ATK}}+{{{TATK}}}</td>|}}</tr><!--
+
-->{{#if: {{{TATK|}}}|<li class="list-inline-item">{{Icons|T-ATK}}+{{{TATK}}}</li>|}}<!--
  
--><tr>{{#if: {{{SDEF|}}}|<td style="border: none;">{{Icons|S-DEF}}+{{{SDEF}}}</td>|}}<!--
+
-->{{#if: {{{SDEF|}}}|<li class="list-inline-item">{{Icons|S-DEF}}+{{{SDEF}}}</li>|}}<!--
  
-->{{#if: {{{RDEF|}}}|<td style="border: none;">{{Icons|R-DEF}}+{{{RDEF}}}</td>|}}<!--
+
-->{{#if: {{{RDEF|}}}|<li class="list-inline-item">{{Icons|R-DEF}}+{{{RDEF}}}</li>|}}<!--
  
-->{{#if: {{{TDEF|}}}|<td style="border: none;">{{Icons|T-DEF}}+{{{TDEF}}}</td>|}}</tr><!--
+
-->{{#if: {{{TDEF|}}}|<li class="list-inline-item">{{Icons|T-DEF}}+{{{TDEF}}}</li>|}}<!--
  
--><tr>{{#if: {{{Fire|}}}|<td style="border: none;">{{Icons|Fire Resist}}+{{{Fire}}}</td>|}}<!--
+
-->{{#if: {{{Fire|}}}|<li class="list-inline-item">{{Icons|Fire Resist}}+{{{Fire}}}</li>|}}<!--
  
-->{{#if: {{{Ice|}}}|<td style="border: none;">{{Icons|Ice Resist}}+{{{Ice}}}</td>|}}<!--
+
-->{{#if: {{{Ice|}}}|<li class="list-inline-item">{{Icons|Ice Resist}}+{{{Ice}}}</li>|}}<!--
  
-->{{#if: {{{Ltn|}}}|<td style="border: none;">{{Icons|Lightning Resist}}+{{{Ltn}}}</td>|}}</tr><!--
+
-->{{#if: {{{Ltn|}}}|<li class="list-inline-item">{{Icons|Lightning Resist}}+{{{Ltn}}}</li>|}}<!--
  
--><tr>{{#if: {{{Wind|}}}|<td style="border: none;">{{Icons|Wind Resist}}+{{{Wind}}}</td>|}}<!--
+
-->{{#if: {{{Wind|}}}|<li class="list-inline-item">{{Icons|Wind Resist}}+{{{Wind}}}</li>|}}<!--
  
-->{{#if: {{{Dark|}}}|<td style="border: none;">{{Icons|Dark Resist}}+{{{Dark}}}</td>|}}<!--
+
-->{{#if: {{{Dark|}}}|<li class="list-inline-item">{{Icons|Dark Resist}}+{{{Dark}}}</li>|}}<!--
  
-->{{#if: {{{Light|}}}|<td style="border: none;">{{Icons|Light Resist}}+{{{Light}}}</td>|}}</tr><!--
+
-->{{#if: {{{Light|}}}|<li class="list-inline-item">{{Icons|Light Resist}}+{{{Light}}}</li>|}}<!--
  
--><tr>{{#if: {{{SRES|}}}|<td style="border: none;">{{Icons|Strike Resist}}+{{{SRES}}}</td>|}}<!--
+
-->{{#if: {{{SRES|}}}|<li class="list-inline-item">{{Icons|Strike Resist}}+{{{SRES}}}</li>|}}<!--
  
-->{{#if: {{{RRES|}}}|<td style="border: none;">{{Icons|Range Resist}}+{{{RRES}}}</td>|}}<!--
+
-->{{#if: {{{RRES|}}}|<li class="list-inline-item">{{Icons|Range Resist}}+{{{RRES}}}</li>|}}<!--
  
-->{{#if: {{{TRES|}}}|<td style="border: none;">{{Icons|Tech Resist}}+{{{TRES}}}</td>|}}</tr>
+
-->{{#if: {{{TRES|}}}|<li class="list-inline-item">{{Icons|Tech Resist}}+{{{TRES}}}</li>|}}
 
<noinclude>
 
<noinclude>
 
<strong>Displays the following:</strong>
 
<strong>Displays the following:</strong>
<table>
+
<ul class="list-inline">
 
{{UnitStatsList/Content
 
{{UnitStatsList/Content
 
| HP=900
 
| HP=900
Line 57: Line 57:
 
| TRES=100%
 
| TRES=100%
 
}}
 
}}
</table>
+
</ul>
 
<pre>
 
<pre>
 
{{UnitStatsList/Content
 
{{UnitStatsList/Content

Latest revision as of 12:45, 19 April 2020


Displays the following:

  • HP+900
  • PP+900
  • DEX+900
  • S-ATK+900
  • R-ATK+900
  • T-ATK+900
  • S-DEF+900
  • R-DEF+900
  • T-DEF+900
  • Fire Resist+100%
  • Ice Resist+100%
  • Lightning Resist+100%
  • Wind Resist+100%
  • Dark Resist+100%
  • Light Resist+100%
  • Strike Resist+100%
  • Range Resist+100%
  • Tech Resist+100%
{{UnitStatsList/Content
| HP    =
| PP    =
| SATK  =
| RATK  =
| TATK  =
| DEX   =
| SDEF  =
| RDEF  =
| TDEF  =
| Fire  =
| Ice   =
| Ltn   =
| Wind  =
| Dark  =
| Light =
| SRES  =
| RRES  =
| TRES  =
}}

To be used in conjuction with the UnitStatsList template.