Main Page

Difference between revisions of "Template:UnitStatsList"

From Arks-Visiphone
Jump to navigation Jump to search
 
(23 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|}}}|{{!}}colspan=1{{!}}<strong>HP</strong> +{{{HP|}}}|-|}}
+
Example:
{{#if: {{{PP|}}}|{{!}}colspan=1{{!}}<strong>PP</strong> +{{{PP|}}}|-|}}
+
{{UnitStatsList| stuff to display in a table }}
{{#if: {{{DEX|}}}|{{!}}colspan=1{{!}}{{Icons|DEX}} +{{{DEX|}}}|-|}}
+
</pre>
{{#if: {{{SATK|}}}|{{!}}colspan=1{{!}}{{Icons|S-ATK}} +{{{SATK|}}}|-|}}
+
 
{{#if: {{{RATK|}}}|{{!}}colspan=1{{!}}{{Icons|R-ATK}} +{{{RATK|}}}|-|}}
+
Its primary function is to use it in conjunction with [[Template:UnitStatsList/Content|UnitStatsList/Content]].
{{#if: {{{TATK|}}}|{{!}}colspan=1{{!}}{{Icons|T-ATK}} +{{{TATK|}}}|-|}}
+
</noinclude>
{{#if: {{{SDEF|}}}|{{!}}colspan=1{{!}}{{Icons|S-DEF}} +{{{SDEF|}}}|-|}}
 
{{#if: {{{RDEF|}}}|{{!}}colspan=1{{!}}{{Icons|R-DEF}} +{{{RDEF|}}}|-|}}
 
{{#if: {{{TDEF|}}}|{{!}}colspan=1{{!}}{{Icons|T-DEF}} +{{{TDEF|}}}|-|}}
 
{{#if: {{{Fire|}}}|{{!}}colspan=1{{!}}{{Icons|Fire Resist}} +{{{Fire|}}}|-|}}
 
{{#if: {{{Ice|}}}|{{!}}colspan=1{{!}}{{Icons|Ice Resist}} +{{{Ice|}}}|-|}}
 
{{#if: {{{Ltn|}}}|{{!}}colspan=1{{!}}{{Icons|Lightning Resist}} +{{{Ltn|}}}|-|}}
 
{{#if: {{{Wind|}}}|{{!}}colspan=1{{!}}{{Icons|Wind Resist}} +{{{Wind|}}}|-|}}
 
{{#if: {{{Dark|}}}|{{!}}colspan=1{{!}}{{Icons|Dark Resist}} +{{{Dark|}}}|-|}}
 
{{#if: {{{Light|}}}|{{!}}colspan=1{{!}}{{Icons|Light Resist}} +{{{Light|}}}|-|}}
 
{{#if: {{{SRES|}}}|{{!}}colspan=1{{!}}{{Icons|Strike Resist}} +{{{SRES|}}}|-|}}
 
{{#if: {{{RRES|}}}|{{!}}colspan=1{{!}}{{Icons|Range Resist}} +{{{RRES|}}}|-|}}
 
{{#if: {{{TRES|}}}|{{!}}colspan=1{{!}}{{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.