More actions
m Fase 1: Reformat the source to increase readability, coding and testing. Making small steps to check when it fails to work. |
m Fase 1: Reformat the source to increase readability, coding and testing. Making small steps to check when it fails to work. |
||
| Line 4: | Line 4: | ||
{{!}} '''{{{Name}}}''' | {{!}} '''{{{Name}}}''' | ||
{{!}}} | {{!}}} | ||
| }} | | | ||
<table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px"> | }}<table style="width:125px;border-spacing:0px 2px;margin-left:1em;border:1px solid #606060; width:880px"> | ||
{{#if:{{{Level|}}} | | {{#if:{{{Level|}}} | | ||
<tr> | <tr> | ||
| Line 33: | Line 33: | ||
<td style="padding:2px 0 2px 5px;">{{{Faction}}}</td> | <td style="padding:2px 0 2px 5px;">{{{Faction}}}</td> | ||
</tr> | </tr> | ||
|{{#if: {{{Faction1|}}}| | |||
<tr> | <tr> | ||
<td style="background:#191616;padding:0px 1em"> {{#if:{{{Faction2|}}}| Factions | Faction }}</td> | <td style="background:#191616;padding:0px 1em"> {{#if:{{{Faction2|}}}| Factions | Faction }}</td> | ||
| Line 40: | Line 40: | ||
|<span style="width:155px;display:inline-block">{{{Faction3}}}</span>|}}{{#if: {{{Faction4|}}} | |<span style="width:155px;display:inline-block">{{{Faction3}}}</span>|}}{{#if: {{{Faction4|}}} | ||
|<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}}</td> | |<span style="width:155px;display:inline-block">{{{Faction4}}}</span>|}}</td> | ||
</tr> | |||
| | | | ||
}} | }} | ||
| Line 88: | Line 88: | ||
| Damage to deal not defined for faction 1 | | Damage to deal not defined for faction 1 | ||
}} | }} | ||
}}</span>{{#if: {{{Faction2|}}} | <span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}} | }}</span>{{#if: {{{Faction2|}}} | ||
| <span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal2|}}} | |||
|{{{DamageToDeal2}}} | |||
|{{#switch: {{{Faction2}}} | |||
| Serpentis = {{Damagetype|Kin|Th}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|Em}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin}} | |||
| CONCORD = {{Damagetype|Kin|Th}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Em|Th}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Em|Th}} | |||
| Damage to deal not defined for faction 2 | |||
}}</span>|}}{{#if: {{{Faction3|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}} | }} | ||
}}</span>|}}{{#if: {{{Faction3|}}} | |||
|<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal3|}}} | |||
|{{{DamageToDeal3}}} | |||
|{{#switch: {{{Faction3}}} | |||
| Serpentis = {{Damagetype|Kin|Th}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|Em}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin}} | |||
| CONCORD = {{Damagetype|Kin|Th}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Em|Th}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Em|Th}} | |||
}}</span>|}}{{#if: {{{Faction4|}}} |<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}} | | Damage to deal not defined for faction 3 | ||
}} | |||
}}</span>|}}{{#if: {{{Faction4|}}} | |||
|<span style="width:155px;display:inline-block">{{#if:{{{DamageToDeal4|}}} | |||
|{{{DamageToDeal4}}} | |||
|{{#switch: {{{Faction4}}} | |||
| Serpentis = {{Damagetype|Kin|Th}} | |||
| Angel | |||
| Angel Cartel = {{Damagetype|Ex|Kin}} | |||
| Syndicate | |||
| The Syndicate = {{Damagetype|Kin|Th}} | |||
| Guristas pirates | |||
| Guristas = {{Damagetype|Kin|Th}} | |||
| Sansha | |||
| Sansha's Nation = {{Damagetype|Em|Th}} | |||
| Blood Raider Covenant | |||
| Blood Raiders = {{Damagetype|Em|Th}} | |||
| Mordu's | |||
| Mordu's Legion = {{Damagetype|Kin|Em}} | |||
| EOM | |||
| Equilibrium of Mankind = {{Damagetype|Kin}} | |||
| CONCORD = {{Damagetype|Kin|Th}} | |||
| Amarr Empire | |||
| Amarr = {{Damagetype|Em|Th}} | |||
| Ammatar = {{Damagetype|Em|Th}} | |||
| Minmatar Republic | |||
| Thukker Tribe | |||
| Minmatar = {{Damagetype|Ex|Kin}} | |||
| Gallente Federation | |||
| Gallente = {{Damagetype|Kin|Th}} | |||
| Caldari State | |||
| Caldari = {{Damagetype|Kin|Th}} | |||
| Khanid Kingdom | |||
| Khanid = {{Damagetype|Em|Th}} | |||
| Mercenaries = {{Damagetype|Kin|Th}} | |||
| Rogue Drones = {{Damagetype|Em|Th}} | |||
| Damage to deal not defined for faction 4 | |||
}} | |||
}}</span>|}}{{#if:{{{Faction1|}}}| | }}</span>|}}{{#if:{{{Faction1|}}}| | ||
</td> | </td> | ||
| Line 198: | Line 201: | ||
| | | | ||
}} | }} | ||
|}} }} | | }} }} | ||
{{#if:{{{DamageToResist|}}} | | {{#if:{{{DamageToResist|}}} | | ||
Revision as of 10:39, 27 March 2022
Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)