Template:Ammo Infobox: Difference between revisions

From AoP Wiki
Created Ammo Infobox
 
Unresolved issue
Line 1: Line 1:
In case anyone reads this from the https://www.mediawiki.org/wiki/Extension_talk:External_Data - uralez.de is this exact machine so in order to read the web_data it will need to be provided with "localhost" instead (As otherwise the connection will be refused) - I just adjusted the link inside the topic so people understand the concept of the error.
Of course just using get_file_data as shown further down works as well.
{{#get_web_data:
    source=http://localhost/foaop/planner/ammo.json
    |format=json
    |data=Name,ProtoId,Weight,PicInv,Ammo_Caliber,Ammo_Caliber_EXT,Ammo_DmgMult,Ammo_DmgDiv,Tier,Poison,Ammo_AcMod,Ammo_DRMod,Ammo_DTMod,Ammo_SubShots,Weapon_DmgType_0,Weapon_DmgMin_0,NoCrit,Weapon_DmgType_1,Weapon_DmgMin_1,Weapon_BleedStr,Ammo_Radius,Special,Fuse,Weapon_Extra_0,Weapon_Extra_1,Weapon_Spread_0
    |filters=ProtoId={{{id|14017}}}
}}
{{#get_file_data:
{{#get_file_data:
     source=planner
     source=planner

Revision as of 22:57, 20 February 2025

In case anyone reads this from the https://www.mediawiki.org/wiki/Extension_talk:External_Data - uralez.de is this exact machine so in order to read the web_data it will need to be provided with "localhost" instead (As otherwise the connection will be refused) - I just adjusted the link inside the topic so people understand the concept of the error. Of course just using get_file_data as shown further down works as well.



Paper Cartridges
Tier 1
papercartridges.png
No Description
Damage Type Normal
Damage Resistance Mod 20%
Damage Threshold Mod 0%
Radius Hex
Bleed Strength 150%
Normal Damage 250 %
Error Damage %
Subshots x
Ammo Spread
ID: 14017
Weight: 35g