Difference between revisions of "Template:Stat Progression (LW2)"

From UFOpaedia
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Mobility'''
 
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Mobility'''
 
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Dodge'''
 
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Dodge'''
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Hacking''' {{ #ifeq: {{{ type | soldier }}} | psi | {{!}} style="border-color:#7dc2d2;" {{!}}'''PsiOffense''' |}}
+
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Hacking''' {{ #ifeq: {{{ s_type | soldier }}} | psi | {{!}} style="border-color:#7dc2d2;" {{!}}'''PsiOffense''' |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 0 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 0 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 0 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 0 | b_name = 1 }}
Line 19: Line 19:
 
| {{{ i_mobility0 | 0 }}}
 
| {{{ i_mobility0 | 0 }}}
 
| {{{ i_dodge0 | 0 }}}
 
| {{{ i_dodge0 | 0 }}}
| {{{ i_hacking0 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense0 | 0 }}} |}}
+
| {{{ i_hacking0 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense0 | 0 }}} |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 1 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 1 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 1 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 1 | b_name = 1 }}
Line 31: Line 31:
 
| {{{ i_mobility1 | 0 }}}
 
| {{{ i_mobility1 | 0 }}}
 
| {{{ i_dodge1 | 0 }}}
 
| {{{ i_dodge1 | 0 }}}
| {{{ i_hacking1 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense1 | 0 }}} |}}
+
| {{{ i_hacking1 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense1 | 0 }}} |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 2 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 2 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 2 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 2 | b_name = 1 }}
Line 43: Line 43:
 
| {{{ i_mobility2 | 0 }}}
 
| {{{ i_mobility2 | 0 }}}
 
| {{{ i_dodge2 | 0 }}}
 
| {{{ i_dodge2 | 0 }}}
| {{{ i_hacking2 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense2 | 0 }}} |}}
+
| {{{ i_hacking2 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense2 | 0 }}} |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 3 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 3 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 3 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 3 | b_name = 1 }}
Line 55: Line 55:
 
| {{{ i_mobility3 | 0 }}}
 
| {{{ i_mobility3 | 0 }}}
 
| {{{ i_dodge3 | 0 }}}
 
| {{{ i_dodge3 | 0 }}}
| {{{ i_hacking3 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense3 | 0 }}} |}}
+
| {{{ i_hacking3 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense3 | 0 }}} |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 4 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 4 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 4 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 4 | b_name = 1 }}
Line 67: Line 67:
 
| {{{ i_mobility4 | 0 }}}
 
| {{{ i_mobility4 | 0 }}}
 
| {{{ i_dodge4 | 0 }}}
 
| {{{ i_dodge4 | 0 }}}
| {{{ i_hacking4 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense4 | 0 }}} |}}
+
| {{{ i_hacking4 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense4 | 0 }}} |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 5 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 5 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 5 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 5 | b_name = 1 }}
Line 79: Line 79:
 
| {{{ i_mobility5 | 0 }}}
 
| {{{ i_mobility5 | 0 }}}
 
| {{{ i_dodge5 | 0 }}}
 
| {{{ i_dodge5 | 0 }}}
| {{{ i_hacking5 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense5 | 0 }}} |}}
+
| {{{ i_hacking5 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense5 | 0 }}} |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 6 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 6 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 6 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 6 | b_name = 1 }}
Line 91: Line 91:
 
| {{{ i_mobility6 | 0 }}}
 
| {{{ i_mobility6 | 0 }}}
 
| {{{ i_dodge6 | 0 }}}
 
| {{{ i_dodge6 | 0 }}}
| {{{ i_hacking6 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense6 | 0 }}} |}}
+
| {{{ i_hacking6 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense6 | 0 }}} |}}
 
|-
 
|-
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ s_type | soldier }}}
 
     | soldier = {{ Rank (LW2) | 7 | b_name = 1 }}
 
     | soldier = {{ Rank (LW2) | 7 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 7 | b_name = 1 }}
 
     | psi = {{ PsiRank (LW2) | 7 | b_name = 1 }}
Line 103: Line 103:
 
| {{{ i_mobility7 | 0 }}}
 
| {{{ i_mobility7 | 0 }}}
 
| {{{ i_dodge7 | 0 }}}
 
| {{{ i_dodge7 | 0 }}}
| {{{ i_hacking7 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense7 | 0 }}} |}}
+
| {{{ i_hacking7 | 0 }}}{{ #ifeq: {{{ s_type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense7 | 0 }}} |}}
 
|-
 
|-
 
| style="border-color:#7dc2d2; border-width: 2px 2px 0 0; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | Total
 
| style="border-color:#7dc2d2; border-width: 2px 2px 0 0; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | Total
Line 112: Line 112:
 
| {{ #expr: {{{ i_dodge0 | 0 }}} + {{{ i_dodge1 | 0 }}} + {{{ i_dodge2 | 0 }}} + {{{ i_dodge3 | 0 }}} + {{{ i_dodge4 | 0 }}} + {{{ i_dodge5 | 0 }}} + {{{ i_dodge6 | 0 }}} + {{{ i_dodge7 | 0 }}} }}
 
| {{ #expr: {{{ i_dodge0 | 0 }}} + {{{ i_dodge1 | 0 }}} + {{{ i_dodge2 | 0 }}} + {{{ i_dodge3 | 0 }}} + {{{ i_dodge4 | 0 }}} + {{{ i_dodge5 | 0 }}} + {{{ i_dodge6 | 0 }}} + {{{ i_dodge7 | 0 }}} }}
 
| {{ #expr: {{{ i_hacking0 | 0 }}} + {{{ i_hacking1 | 0 }}} + {{{ i_hacking2 | 0 }}} + {{{ i_hacking3 | 0 }}} + {{{ i_hacking4 | 0 }}} + {{{ i_hacking5 | 0 }}} + {{{ i_hacking6 | 0 }}} + {{{ i_hacking7 | 0 }}} }}<!--
 
| {{ #expr: {{{ i_hacking0 | 0 }}} + {{{ i_hacking1 | 0 }}} + {{{ i_hacking2 | 0 }}} + {{{ i_hacking3 | 0 }}} + {{{ i_hacking4 | 0 }}} + {{{ i_hacking5 | 0 }}} + {{{ i_hacking6 | 0 }}} + {{{ i_hacking7 | 0 }}} }}<!--
-->{{ #ifeq: {{{ type | soldier }}} | psi | {{!!}} {{ #expr: {{{ i_psiOffense0 | 0 }}} + {{{ i_psiOffense1 | 0 }}} + {{{ i_psiOffense2 | 0 }}} + {{{ i_psiOffense3 | 0 }}} + {{{ i_psiOffense4 | 0 }}} + {{{ i_psiOffense5 | 0 }}} + {{{ i_psiOffense6 | 0 }}} + {{{ i_psiOffense7 | 0 }}} }} |}}
+
-->{{ #ifeq: {{{ s_type | soldier }}} | psi | {{!!}} {{ #expr: {{{ i_psiOffense0 | 0 }}} + {{{ i_psiOffense1 | 0 }}} + {{{ i_psiOffense2 | 0 }}} + {{{ i_psiOffense3 | 0 }}} + {{{ i_psiOffense4 | 0 }}} + {{{ i_psiOffense5 | 0 }}} + {{{ i_psiOffense6 | 0 }}} + {{{ i_psiOffense7 | 0 }}} }} |}}
 
|}
 
|}
  

Revision as of 09:08, 1 February 2017

Rank Health Offense Will Mobility Dodge Hacking
Squaddie
Squaddie
0 0 0 0 0 0
Lance Corporal
Lance Corporal
0 0 0 0 0 0
Corporal
Corporal
0 0 0 0 0 0
Sergeant
Sergeant
0 0 0 0 0 0
Staff Sergeant
Staff Sergeant
0 0 0 0 0 0
Tech Sergeant
Tech Sergeant
0 0 0 0 0 0
Gunnery Sergeant
Gunnery Sergeant
0 0 0 0 0 0
Master Sergeant
Master Sergeant
0 0 0 0 0 0
Total 0 0 0 0 0 0


[edit · purge]
Template documentation(for the template shown above, sometimes hidden or invisible)
==Summary==

This template is used for stat progression tables for Soldiers in Long War 2. It automatically calculates total progression based on the values its given.

Skeleton

{{Stat Progression (LW2)
| i_health0     = 
| i_offense0    = 
| i_will0       = 
| i_mobility0   = 
| i_dodge0      = 
| i_hacking0    = 
| i_health1     = 
| i_offense1    = 
| i_will1       = 
| i_mobility1   = 
| i_dodge1      = 
| i_hacking1    = 
| i_health2     = 
| i_offense2    = 
| i_will2       = 
| i_mobility2   = 
| i_dodge2      = 
| i_hacking2    = 
| i_health3     = 
| i_offense3    = 
| i_will3       = 
| i_mobility3   = 
| i_dodge3      = 
| i_hacking3    = 
| i_health4     = 
| i_offense4    = 
| i_will4       = 
| i_mobility4   = 
| i_dodge4      = 
| i_hacking4    = 
| i_health5     = 
| i_offense5    = 
| i_will5       = 
| i_mobility5   = 
| i_dodge5      = 
| i_hacking5    = 
| i_health6     = 
| i_offense6    = 
| i_will6       = 
| i_mobility6   = 
| i_dodge6      = 
| i_hacking6    = 
| i_health7     = 
| i_offense7    = 
| i_will7       = 
| i_mobility7   = 
| i_dodge7      = 
| i_hacking7    = 
}}

Parameters

i_health0-7 : Health progression at rank. Defaults to 0.

i_offense0-7 : Offense progression at rank. Defaults to 0.

i_will0-7 : Will progression at rank. Defaults to 0.

i_mobility0-7 : Mobility progression at rank. Defaults to 0.

i_dodge0-7 : Dodge progression at rank. Defaults to 0.

i_hacking0-7 : Hacking progression at rank. Defaults to 0.
Documentation transcluded from Template:Stat Progression (LW2)/doc.

Templates (Long War 2)‏‎