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

From UFOpaedia
Jump to navigation Jump to search
m
Line 1: Line 1:
{| class="wikitable"
+
{| class="wikitable" style="vertical-align:top; text-align:center" width="35%"
! Rank
+
|- style="color:#7dc2d2; background-color:#17181a; vertical-align:center; font-size:130%;"
! Health
+
| style="border-color:#7dc2d2; border-width: 0 2px 2px 0; width:15%;" | '''Rank'''
! Offense
+
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Health'''
! Will
+
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Offense'''
! Mobility
+
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Will'''
! Dodge
+
| style="border-color:#7dc2d2; border-width: 0 0  2px 0; width:8%;" | '''Mobility'''
! Hacking {{ #ifeq: {{{ type | soldier }}} | psi | !!PsiOffense |}}
+
| 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''' |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 20: Line 21:
 
| {{{ i_hacking0 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense0 | 0 }}} |}}
 
| {{{ i_hacking0 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense0 | 0 }}} |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 32: Line 33:
 
| {{{ i_hacking1 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense1 | 0 }}} |}}
 
| {{{ i_hacking1 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense1 | 0 }}} |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 44: Line 45:
 
| {{{ i_hacking2 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense2 | 0 }}} |}}
 
| {{{ i_hacking2 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense2 | 0 }}} |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 56: Line 57:
 
| {{{ i_hacking3 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense3 | 0 }}} |}}
 
| {{{ i_hacking3 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense3 | 0 }}} |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 68: Line 69:
 
| {{{ i_hacking4 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense4 | 0 }}} |}}
 
| {{{ i_hacking4 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense4 | 0 }}} |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 80: Line 81:
 
| {{{ i_hacking5 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense5 | 0 }}} |}}
 
| {{{ i_hacking5 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense5 | 0 }}} |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 92: Line 93:
 
| {{{ i_hacking6 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense6 | 0 }}} |}}
 
| {{{ i_hacking6 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense6 | 0 }}} |}}
 
|-
 
|-
|{{ #switch: {{{ type | soldier }}}
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | {{ #switch: {{{ 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 104: Line 105:
 
| {{{ i_hacking7 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense7 | 0 }}} |}}
 
| {{{ i_hacking7 | 0 }}}{{ #ifeq: {{{ type | soldier }}} | psi | {{{!!}}} {{{ i_psiOffense7 | 0 }}} |}}
 
|-
 
|-
|Total
+
| style="border:none; color: #7dc2d2; background-color: #17181a; font-weight:bold;" | Total
 
| {{ #expr: {{{ i_health0 | 0 }}} + {{{ i_health1 | 0 }}} + {{{ i_health2 | 0 }}} + {{{ i_health3 | 0 }}} + {{{ i_health4 | 0 }}} + {{{ i_health5 | 0 }}} + {{{ i_health6 | 0 }}} + {{{ i_health7 | 0 }}} }}
 
| {{ #expr: {{{ i_health0 | 0 }}} + {{{ i_health1 | 0 }}} + {{{ i_health2 | 0 }}} + {{{ i_health3 | 0 }}} + {{{ i_health4 | 0 }}} + {{{ i_health5 | 0 }}} + {{{ i_health6 | 0 }}} + {{{ i_health7 | 0 }}} }}
 
| {{ #expr: {{{ i_offense0 | 0 }}} + {{{ i_offense1 | 0 }}} + {{{ i_offense2 | 0 }}} + {{{ i_offense3 | 0 }}} + {{{ i_offense4 | 0 }}} + {{{ i_offense5 | 0 }}} + {{{ i_offense6 | 0 }}} + {{{ i_offense7 | 0 }}} }}
 
| {{ #expr: {{{ i_offense0 | 0 }}} + {{{ i_offense1 | 0 }}} + {{{ i_offense2 | 0 }}} + {{{ i_offense3 | 0 }}} + {{{ i_offense4 | 0 }}} + {{{ i_offense5 | 0 }}} + {{{ i_offense6 | 0 }}} + {{{ i_offense7 | 0 }}} }}

Revision as of 08:27, 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)‏‎