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

From Project Gorgon
Jump to navigation Jump to search
Donni Iris (talk | contribs)
No edit summary
Donni Iris (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
from yeti stockings' item infobox call:
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 "<pre><br></pre>"?) 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}}
icon_101.png Max Armor
 
+49


icon_103.png Max Power
 
+8


icon_105.png Health from Combat Refresh Abilities
 
+8


icon_105.png Armor from Combat Refresh Abilities
 
+8


icon_105.png Power from Combat Refresh Abilities
 
+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 Error: String exceeds 1,000 character limit.




no


{{#pos:

icon_101.png Max Armor
 
+49


icon_103.png Max Power
 
+8


icon_105.png Health from Combat Refresh Abilities
 
+8


icon_105.png Armor from Combat Refresh Abilities
 
+8


icon_105.png Power from Combat Refresh Abilities
 
+8

|

icon_101.png Max Armor
 


{{#ifexpr:Error: String exceeds 1,000 character limit.





looks like it's not possible