Template:NumberNabber: Difference between revisions
From IdleOn MMO Wiki
imported>Kiokurashi No edit summary |
imported>Kiokurashi No edit summary |
||
Line 7: | Line 7: | ||
-->{{#ifexpr: {{#pos:{{#var:string}}|{{{2}}}}} | -->{{#ifexpr: {{#pos:{{#var:string}}|{{{2}}}}} | ||
|{{#ifexpr: {{#pos:{{#var:string}}|Craft}}|{{#vardefine:craft|1}}}}<!-- | |{{#ifexpr: {{#pos:{{#var:string}}|Craft}}|{{#vardefine:craft|1}}}}<!-- | ||
-->{{#rmatch:{{#var:string}}|([0-9]*)|$1|Not Found}} | -->{{#rmatch:{{#var:string}}|([0-9]*)|$1|Not Found}}}} | ||
{{#vardefine:i|{{#expr:{{#var:i}} + 1}}}} | |||
}}</includeonly> | }}</includeonly> |