Main Page

Difference between revisions of "Template:UnitStatsList"

From Arks-Visiphone
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<htmlet nocache="yes">unitheader</htmlet>
+
<table class="table-sm table-borderless no-dark-borders unit-table-fixed">{{{1}}}</table>
<nowiki>Click for Stats</nowiki>
+
<noinclude>
<htmlet nocache="yes">unitlist-a</htmlet>
+
 
{|
+
To insert it into a template or page, use the following code:
|-
+
<pre>
{{#if: {{{HP|}}}|{{!}}<strong>HP</strong> +{{{HP|}}}|}}
+
Example:
{{#if: {{{PP|}}}|{{!}}<strong>PP</strong> +{{{PP|}}}|}}
+
{{UnitStatsList| stuff to display in a table }}
{{#if: {{{DEX|}}}|{{!}}{{Icons|DEX}} +{{{DEX|}}}|}}
+
</pre>
{{#if: {{{SATK|}}}|{{!}}{{Icons|S-ATK}} +{{{SATK|}}}|}}
+
 
{{#if: {{{RATK|}}}|{{!}}{{Icons|R-ATK}} +{{{RATK|}}}|}}
+
Its primary function is to use it in conjunction with [[Template:UnitStatsList/Content|UnitStatsList/Content]].
{{#if: {{{TATK|}}}|{{!}}{{Icons|T-ATK}} +{{{TATK|}}}|}}
+
</noinclude>
{{#if: {{{SDEF|}}}|{{!}}{{Icons|S-DEF}} +{{{SDEF|}}}|}}
 
{{#if: {{{RDEF|}}}|{{!}}{{Icons|R-DEF}} +{{{RDEF|}}}|}}
 
{{#if: {{{TDEF|}}}|{{!}}{{Icons|T-DEF}} +{{{TDEF|}}}|}}
 
{{#if: {{{Fire|}}}|{{!}}{{Icons|Fire Resist}} +{{{Fire|}}}|}}
 
{{#if: {{{Ice|}}}|{{!}}{{Icons|Ice Resist}} +{{{Ice|}}}|}}
 
{{#if: {{{Ltn|}}}|{{!}}{{Icons|Lightning Resist}} +{{{Ltn|}}}|}}
 
{{#if: {{{Wind|}}}|{{!}}{{Icons|Wind Resist}} +{{{Wind|}}}|}}
 
{{#if: {{{Dark|}}}|{{!}}{{Icons|Dark Resist}} +{{{Dark|}}}|}}
 
{{#if: {{{Light|}}}|{{!}}{{Icons|Light Resist}} +{{{Light|}}}|}}
 
{{#if: {{{SRES|}}}|{{!}}{{Icons|Strike Resist}} +{{{SRES|}}}|}}
 
{{#if: {{{RRES|}}}|{{!}}{{Icons|Range Resist}} +{{{RRES|}}}|}}
 
{{#if: {{{TRES|}}}|{{!}}{{Icons|Tech Resist}} +{{{TRES|}}}|}}
 
|-
 
|}
 
<htmlet nocache="yes">unitlist-b</htmlet>
 

Latest revision as of 23:07, 9 April 2020

{{{1}}}


To insert it into a template or page, use the following code:

Example:
{{UnitStatsList| stuff to display in a table }}

Its primary function is to use it in conjunction with UnitStatsList/Content.