User:Donni Iris/Sandbox/Equipment Parse Stats: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Donni Iris (talk | contribs)
Created page with "<pre>|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>{{..."
 
Donni Iris (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
from yeti stockings' item infobox call:
<pre>|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}}</pre>
<pre>|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}}</pre>
{{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}}


parse this bad boy (split on "<br>"?) to (hopefully) be able to tabulate the stats for each piece of armor
 
<hr>
 
 
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]]
 
 
<hr>
 
explode does this but im not sure this is any more useful than just having the whole param list since it seem like you cannot extract the value at the end
<!--
-->{{#explode:{{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}}<!--
          -->|<br><!--
          -->|2<!--
-->}}
 
 
<hr>
 
 
{{#ifexpr: 0 > 1 | yes | no}}
 
 
<!--
-->{{#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|<!--
-->}}
 
 
<!--
-->{{#ifexpr:<!--
      -->{{#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|<!--
      -->}}>0<!--
      -->|has max armor<!--
      -->|does not have max armor<!--
-->}}
 
 
{{#pos:<nowiki>foo bar</nowiki>|bar}}
 
{{#pos:<nowiki>Link]]</nowiki>|i}}
 
<!--
-->{{#pos:<nowiki>{{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}}</nowiki><!--
      -->|<nowiki>{{Attribute|MAX_ARMOR|</nowiki><!--
-->}}
 
 
looks like it's not possible

Latest revision as of 17:38, 7 May 2026

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 does this but im not sure this is any more useful than just having the whole param list since it seem like you cannot extract the value at the end

{{#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