Difference between revisions of "Template:InfoBox XCOM2"

From UFOpaedia
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float: right; clear: right; max-width:270px; border: 1px; padding: 5px 0px 0px 20px">
+
<div style="float: right; clear: right; max-width:230px; border: 1px; padding: 0px 0px 5px 20px">
 
{| class="wikitable"  
 
{| class="wikitable"  
 
! colspan="2" align="center" | '''{{{name}}}'''
 
! colspan="2" align="center" | '''{{{name}}}'''
Line 7: Line 7:
 
| colspan="2" align="center" | '''Statistics'''
 
| colspan="2" align="center" | '''Statistics'''
 
|-
 
|-
| '''Aim'''
+
! '''Aim'''
 
| {{{aim}}}
 
| {{{aim}}}
 
|-
 
|-
| '''Critchance'''
+
! '''Critchance'''
 
| {{{critchance}}}
 
| {{{critchance}}}
 
|-
 
|-
| '''Defense'''
+
! '''Defense'''
 
| {{{defense}}}
 
| {{{defense}}}
 
|-
 
|-
| '''Health'''
+
! '''Health'''
 
| {{{health}}}
 
| {{{health}}}
 
|-
 
|-
| '''Mobility'''
+
! '''Mobility'''
 
| {{{mobility}}}
 
| {{{mobility}}}
 
|-
 
|-
| '''Will'''
+
! '''Will'''
 
| {{{will}}}
 
| {{{will}}}
 
|-
 
|-
Line 29: Line 29:
 
|-
 
|-
 
|-  
 
|-  
| '''Weapon'''
+
! '''Weapon'''
 
| {{{weapon}}}
 
| {{{weapon}}}
 
|-  
 
|-  
| '''Abilities'''
+
{{#if: {{{abilities|}}} |
| {{{abilities}}}
+
!'''Abilities'''
 +
{{!}} {{{abilities}}}
 +
| }}  
 
|-  
 
|-  
| '''Traits'''
+
{{#if: {{{traits|}}} |
| {{{traits}}}
+
!'''Traits'''
|-  
+
{{!}} {{{traits}}}
| '''Dodge'''
+
| }}  
| {{{dodge}}}
+
|-
|-
+
{{#if: {{{dodge|}}} |
{{#if: {{{tech|}}}
+
!'''Dodge'''
 +
{{!}} {{{dodge}}}
 +
| }}  
 
|-  
 
|-  
| '''Tech'''
+
{{#if: {{{tech|}}} |
| {{{tech}}}
+
!'''Tech'''
|-
+
{{!}} {{{tech}}}
 
 
 
| }}
 
| }}
 
|}
 
|}
 
</div>
 
</div>

Latest revision as of 12:12, 4 July 2020

{{{name}}}
{{{image}}}
Statistics
Aim {{{aim}}}
Critchance {{{critchance}}}
Defense {{{defense}}}
Health {{{health}}}
Mobility {{{mobility}}}
Will {{{will}}}
Attributes
Weapon {{{weapon}}}