imported>Kiokurashi |
imported>Kiokurashi |
(8 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly>{{#vardefine:i|0}}{{#vardefine:crafted|0}}{{#while: | | <includeonly>{{#vardefine:crafted|0}} |
| | {{#if: {{#explode:{{{1|}}}|,|{{#var:i}}}}| true }}
| | {{#invoke:Loops|numberNabber |
| | <nowiki />
| | |list={{{1|}}} |
| <!-- ## Create substring for Regex ##
| | |searchText={{{2|}}} |
| -->{{#vardefine:string|{{#rreplace:{{#explode:{{{1|}}}|,|{{#var:i}}}}|(36px)|px}}}}<!--
| |
| ## Check if item exsits in string. Check if "Craft" exists in string.
| |
| -->{{#if: {{#pos:{{#var:string}}|{{{2}}}}}|{{#rmatch:{{#var:string}}|([0-9]*[^\D])|$1|Not Found}}{{#if: {{#pos:{{#var:string}}|Craft}}
| |
| |{{#vardefine:crafted|1}}}}}}{{#vardefine:i|{{#expr:{{#var:i}} + 1}}}}
| |
| }}</includeonly> | | }}</includeonly> |