User:Donni Iris/Sandbox/Equipment Parse Stats

From Project Gorgon
Jump to navigation Jump to search

from yeti stockings' item infobox call:

|basemods = {{Attribute|MAX_ARMOR|+49}}<br>{{Attribute|MAX_POWER|+8}}<br>{{Attribute|COMBAT_REFRESH_HEALTH_DELTA|+8}}<br>{{Attribute|COMBAT_REFRESH_ARMOR_DELTA|+8}}<br>{{Attribute|COMBAT_REFRESH_POWER_DELTA|+8}}

{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+49


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_103.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Power| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Health from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Armor from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Power from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8




parse this bad boy (split on "br"?) to (hopefully) be able to tabulate the stats for each piece of armor

We do not have a lot to work with... Special:Version




{{#explode:

{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+49


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_103.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Power| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Health from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Armor from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Power from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8

|
|2}}




no


{{#pos:

{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+49


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_103.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Power| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Health from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Armor from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Power from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8

|

{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 


{{#ifexpr:{{#pos:

{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+49


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_103.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Power| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Health from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Armor from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8


{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Power from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 
+8

|

{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |

Error: Attribute not found }}
 

>0|has max armor|does not have max armor}}


{{#pos:foo bar|bar}}

{{#pos:Link]]|i}}

{{#pos:{{Attribute|MAX_ARMOR|+49}}<br>{{Attribute|MAX_POWER|+8}}<br>{{Attribute|COMBAT_REFRESH_HEALTH_DELTA|+8}}<br>{{Attribute|COMBAT_REFRESH_ARMOR_DELTA|+8}}<br>{{Attribute|COMBAT_REFRESH_POWER_DELTA|+8}}|{{Attribute|MAX_ARMOR|}}


looks like it's not possible