Template:Armor Infobox: Difference between revisions
From AoP Wiki
Created Armor Infobox |
Adjusted Armor Infobox to work with new ExternalData function. |
||
Line 1: | Line 1: | ||
{{# | {{#for_external_table:| | ||
source=planner | {{{!}} class="wikitable" style="float:right" | ||
|file name=armors. | ! colspan="2" {{!}} {{#if: {{{Name}}} | [[{{{Name}}}]] |Armor}} | ||
|format= | ! colspan="1" align="center"{{!}}{{#if: {{{PicInv}}} | https://uralez.de/foaop/planner/{{{PicInv}}} |No Image}} | ||
|data=Name,ProtoId,Weight,Armor_AC,Armor_DRNormal,Armor_DRLaser,Armor_DRFire,Armor_DRPlasma,Armor_DREmp,Armor_DRExplode,Armor_DRElectr,Armor_DTNormal,Armor_DTLaser,Armor_DTFire,Armor_DTPlasma,Armor_DTExplode,Armor_DTElectr, | {{!}}- | ||
{{!}} colspan="3" {{!}} {{#if: {{{Description}}} | {{{Description}}} | No Description}} | |||
{{!}}- | |||
{{!}} '''Damage Type''' | |||
{{!}} '''[[Damage Threshold]]''' | |||
{{!}} '''[[Damage Resistance]]''' | |||
{{!}}- | |||
{{!}} Normal | |||
{{!}} {{#if: {{{Armor_DTNormal}}} | {{{Armor_DTNormal}}} | 0}} | |||
{{!}} {{#if: {{{Armor_DRNormal}}} | {{{Armor_DRNormal}}} | 0}}% | |||
{{!}}- | |||
{{!}} Laser | |||
{{!}} {{#if: {{{Armor_DTLaser}}} | {{{Armor_DTLaser}}} | 0}} | |||
{{!}} {{#if: {{{Armor_DRLaser}}} | {{{Armor_DRLaser}}} | 0}}% | |||
{{!}}- | |||
{{!}} Fire | |||
{{!}} {{#if: {{{Armor_DTFire}}} | {{{Armor_DTFire}}} | 0}} | |||
{{!}} {{#if: {{{Armor_DRFire}}} | {{{Armor_DRFire}}} | 0}}% | |||
{{!}}- | |||
{{!}} Plasma | |||
{{!}} {{#if: {{{Armor_DTPlasma}}} | {{{Armor_DTPlasma}}} | 0}} | |||
{{!}} {{#if: {{{Armor_DRPlasma}}} | {{{Armor_DRPlasma}}} | 0}}% | |||
{{!}}- | |||
{{!}} Electric | |||
{{!}} {{#if: {{{Armor_DTElectr}}} | {{{Armor_DTElectr}}} | 0}} | |||
{{!}} {{#if: {{{Armor_DRElectr}}} | {{{Armor_DRElectr}}} | 0}}% | |||
{{!}}- | |||
{{!}} Explode | |||
{{!}} {{#if: {{{Armor_DTExplode}}} | {{{Armor_DTExplode}}} | 0}} | |||
{{!}} {{#if: {{{Armor_DRExplode}}} | {{{Armor_DRExplode}}} | 0}}% | |||
{{!}}- | |||
{{!}} width="33%" {{!}} '''[[Armor Class]]''' | |||
{{!}} colspan="2" {{!}} {{#if: {{{Armor_AC}}} | {{{Armor_AC}}} | 0}} | |||
{{!}}- | |||
{{!}} colspan="1" {{!}} ID: {{#if: {{{ProtoId}}} | {{{ProtoId}}} | No ID}} | |||
{{!}} colspan="2" {{!}} Weight: {{#if: {{{Weight}}} | {{{Weight}}} | 0}}g | |||
{{!}}} | |||
|source=planner | |||
|file name=armors.json | |||
|format = json with jsonpath | |||
|data = | |||
Name=$[?(@.ProtoId == {{{id|1}}})].Name, | |||
Description=$[?(@.ProtoId == {{{id|1}}})].Description, | |||
ProtoId=$[?(@.ProtoId == {{{id|1}}})].ProtoId, | |||
Weight=$[?(@.ProtoId == {{{id|1}}})].Weight, | |||
PicInv=$[?(@.ProtoId == {{{id|1}}})].PicInv, | |||
Tier=$[?(@.ProtoId == {{{id|1}}})].Tier, | |||
Armor_AC=$[?(@.ProtoId == {{{id|1}}})].Armor_AC, | |||
Armor_DRNormal=$[?(@.ProtoId == {{{id|1}}})].Armor_DRNormal, | |||
Armor_DRLaser=$[?(@.ProtoId == {{{id|1}}})].Armor_DRLaser, | |||
Armor_DRFire=$[?(@.ProtoId == {{{id|1}}})].Armor_DRFire, | |||
Armor_DRPlasma=$[?(@.ProtoId == {{{id|1}}})].Armor_DRPlasma, | |||
Armor_DREmp=$[?(@.ProtoId == {{{id|1}}})].Armor_DREmp, | |||
Armor_DRExplode=$[?(@.ProtoId == {{{id|1}}})].Armor_DRExplode, | |||
Armor_DRElectr=$[?(@.ProtoId == {{{id|1}}})].Armor_DRElectr, | |||
Armor_DTNormal=$[?(@.ProtoId == {{{id|1}}})].Armor_DTNormal, | |||
Armor_DTLaser=$[?(@.ProtoId == {{{id|1}}})].Armor_DTLaser, | |||
Armor_DTFire=$[?(@.ProtoId == {{{id|1}}})].Armor_DTFire, | |||
Armor_DTPlasma=$[?(@.ProtoId == {{{id|1}}})].Armor_DTPlasma, | |||
Armor_DTExplode=$[?(@.ProtoId == {{{id|1}}})].Armor_DTExplode, | |||
Armor_DTElectr=$[?(@.ProtoId == {{{id|1}}})].Armor_DTElectr, | |||
Armor_Trait_0=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_0, | |||
Armor_Trait_1=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_1, | |||
Armor_Trait_2=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_2, | |||
Armor_Trait_3=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_3, | |||
Armor_Trait_4=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_4, | |||
Armor_Trait_5=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_5, | |||
Armor_Trait_6=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_6, | |||
Armor_Trait_7=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_7, | |||
Armor_Trait_8=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_8, | |||
Armor_Trait_9=$[?(@.ProtoId == {{{id|1}}})].Armor_Trait_9 | |||
}} | }} | ||
Revision as of 12:36, 24 February 2025
Leather Armor | ![]() | |
---|---|---|
Your basic all leather apparel. Finely crafted from tanned brahmin hide. | ||
Damage Type | Damage Threshold | Damage Resistance |
Normal | 6 | 35% |
Laser | 3 | 40% |
Fire | 6 | 30% |
Plasma | 3 | 15% |
Electric | 5 | 60% |
Explode | 4 | 45% |
Armor Class | 30 | |
ID: 1 | Weight: 4250g |