Difference between revisions of "Template:Class Tree (LW2)"

From UFOpaedia
Jump to navigation Jump to search
m
(Convert to templates for rank icons and text)
Line 4: Line 4:
 
| colspan="3" style="border-color:#7dc2d2;" | '''Ability'''
 
| colspan="3" style="border-color:#7dc2d2;" | '''Ability'''
 
|-
 
|-
! style="border:none; color:#7dc2d2; background-color:#17181a;" | {{ #if: {{{spark|}}} | [[File:XCOM2_rank_squire.png|35px]]<br/>Squire | [[File:XCOM2_rank_squaddie.png|35px]]<br/>Squaddie}}
+
! style="border:none; color:#7dc2d2; background-color:#17181a;" | {{ #if: {{{spark|}}} | {{SparkRank (LW2)|0|name=1}} | {{Rank (LW2)|0|name=1}} }}
 
| width="30%" | {{{Squaddie1}}}
 
| width="30%" | {{{Squaddie1}}}
 
| width="30%" | {{{Squaddie2}}}
 
| width="30%" | {{{Squaddie2}}}
Line 14: Line 14:
 
! style="border-left:none; border-right:none; background-color:white;" | ''{{{Subclass2}}}''
 
! style="border-left:none; border-right:none; background-color:white;" | ''{{{Subclass2}}}''
 
|-
 
|-
! style="border:none; color: #7dc2d2; background-color: #17181a;" | {{ #if: {{{spark|}}} | [[File:XCOM2_rank_aspirant.png|35px]]<br/>Aspirant | [[File:XCOM2_rank_lieutenant.png|35px]]<br/>Lance Corporal }}
+
! style="border:none; color: #7dc2d2; background-color: #17181a;" | {{ #if: {{{spark|}}} | {{SparkRank (LW2)|1|name=1}} | {{Rank (LW2)|1|name=1}} }}
 
| {{{LCorporal1}}}
 
| {{{LCorporal1}}}
 
| {{{LCorporal2}}}
 
| {{{LCorporal2}}}
 
| {{{LCorporal3}}}
 
| {{{LCorporal3}}}
 
|-
 
|-
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | [[File:XCOM2_rank_knight.png|35px]]<br/>Knight | [[File:XCOM2_rank_sergeant.png|35px]]<br/>Corporal }}
+
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | {{SparkRank (LW2)|2|name=1}} | {{Rank (LW2)|2|name=1}} }}
 
| {{{Corporal1}}}
 
| {{{Corporal1}}}
 
| {{{Corporal2}}}
 
| {{{Corporal2}}}
 
| {{{Corporal3}}}
 
| {{{Corporal3}}}
 
|-
 
|-
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | [[File:XCOM2_rank_cavalier.png|35px]]<br/>Cavalier | [[File:XCOM2_rank_captain.png|35px]]<br/>Sergeant }}
+
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | {{SparkRank (LW2)|3|name=1}} | {{Rank (LW2)|3|name=1}} }}
 
| {{{Sergeant1}}}
 
| {{{Sergeant1}}}
 
| {{{Sergeant2}}}
 
| {{{Sergeant2}}}
 
| {{{Sergeant3}}}
 
| {{{Sergeant3}}}
 
|-
 
|-
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | [[File:XCOM2_rank_vanguard.png|35px]]<br/>Vanguard | [[File:XCOM2_rank_major.png|35px]]<br/>Staff Sergeant }}
+
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | {{SparkRank (LW2)|4|name=1}} | {{Rank (LW2)|4|name=1}} }}
 
| {{{StaffSgt1}}}
 
| {{{StaffSgt1}}}
 
| {{{StaffSgt2}}}
 
| {{{StaffSgt2}}}
 
| {{{StaffSgt3}}}
 
| {{{StaffSgt3}}}
 
|-
 
|-
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | [[File:XCOM2_rank_paladin.png|35px]]<br/>Paladin | [[File:XCOM2_rank_colonel.png|35px]]<br/>Tech Sergeant }}
+
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | {{SparkRank (LW2)|5|name=1}} | {{Rank (LW2)|5|name=1}} }}
 
| {{{TechSgt1}}}
 
| {{{TechSgt1}}}
 
| {{{TechSgt2}}}
 
| {{{TechSgt2}}}
 
| {{{TechSgt3}}}
 
| {{{TechSgt3}}}
 
|-
 
|-
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | [[File:XCOM2_rank_paladin.png|35px]]<br/>Champion | [[File:XCOM2_rank_commander.png|35px]]<br/>Gunnery Sergeant }}
+
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | {{SparkRank (LW2)|6|name=1}} | {{Rank (LW2)|6|name=1}} }}
 
| {{{GunSgt1}}}
 
| {{{GunSgt1}}}
 
| {{{GunSgt2}}}
 
| {{{GunSgt2}}}
 
| {{{GunSgt3}}}
 
| {{{GunSgt3}}}
 
|-
 
|-
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | [[File:XCOM2_rank_champion.png|35px]]<br/>Templar | [[File:XCOM2_rank_fieldmarshall.png|35px]]<br/>Master Sergeant }}
+
! style="border:none; color: #7dc2d2; background-color: #17181a;" |  {{ #if: {{{spark|}}} | {{SparkRank (LW2)|7|name=1}} | {{Rank (LW2)|7|name=1}} }}
 
| {{{MSgt1}}}
 
| {{{MSgt1}}}
 
| {{{MSgt2}}}
 
| {{{MSgt2}}}

Revision as of 11:20, 31 January 2017

Rank Ability
Squaddie {{{Squaddie1}}} {{{Squaddie2}}} {{{Squaddie3}}}
{{{Subclass1}}} {{{Subclass2}}}
Lance Corporal {{{LCorporal1}}} {{{LCorporal2}}} {{{LCorporal3}}}
Corporal {{{Corporal1}}} {{{Corporal2}}} {{{Corporal3}}}
Sergeant {{{Sergeant1}}} {{{Sergeant2}}} {{{Sergeant3}}}
Staff Sergeant {{{StaffSgt1}}} {{{StaffSgt2}}} {{{StaffSgt3}}}
Tech Sergeant {{{TechSgt1}}} {{{TechSgt2}}} {{{TechSgt3}}}
Gunnery Sergeant {{{GunSgt1}}} {{{GunSgt2}}} {{{GunSgt3}}}
Master Sergeant {{{MSgt1}}} {{{MSgt2}}} {{{MSgt3}}}


[edit · purge]
Template documentation(for the template shown above, sometimes hidden or invisible)
==Skeleton==
{{Class Tree (LW2)|
|Squaddie1=
|Squaddie2=
|Squaddie3=
|Subclass1= 
|Subclass2= 
|LCorporal1=
|LCorporal2=
|LCorporal3=
|Corporal1=
|Corporal2=
|Corporal3=
|Sergeant1=
|Sergeant2=
|Sergeant3=
|StaffSgt1=
|StaffSgt2=
|StaffSgt3=
|TechSgt1=
|TechSgt2=
|TechSgt3=
|GunSgt1=
|GunSgt2=
|GunSgt3=
|MSgt1=
|MSgt2=
|MSgt3=
}}

Perks should be in the following format:

{{Perk Name (LW2)| b_name = 1 | b_descr = 1 | b_info = 1 | b_table = 1}}
Documentation transcluded from Template:Class Tree (LW2)/doc.