Template:Navbox/sandbox/Listparsing

From Official Factorio Wiki
< Template:Navbox‎ | sandbox
Revision as of 15:26, 8 August 2017 by Bilka (talk | contribs) (wrapped in nowiki tags to prevent redlink, but I'll keep this in case we need this some time in the future...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#ifeq: {{#explode: {{{1}}} |*|0}}|||{{#ifeq: {{#explode: {{#explode: {{{1}}} |*|0}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|0}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|0}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|0}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|0}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|1}}|||{{#ifeq: {{#explode: {{#explode: {{{1}}} |*|1}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|1}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|1}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|1}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|1}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|2}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|2}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|2}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|2}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|2}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|2}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|3}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|3}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|3}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|3}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|3}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|3}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|4}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|4}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|4}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|4}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|4}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|4}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|5}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|5}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|5}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|5}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|5}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|5}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|6}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|6}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|6}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|6}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|6}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|6}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|7}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|7}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|7}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|7}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|7}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|7}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|8}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|8}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|8}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|8}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|8}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|8}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|9}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|9}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|9}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|9}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|9}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|9}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|10}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|10}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|10}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|10}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|10}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|10}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|11}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|11}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|11}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|11}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|11}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|11}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|12}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|12}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|12}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|12}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|12}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|12}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|13}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|13}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|13}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|13}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|13}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|13}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|14}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|14}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|14}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|14}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|14}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|14}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|15}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|15}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|15}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|15}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|15}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|15}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|16}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|16}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|16}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|16}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|16}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|16}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|17}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|17}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|17}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|17}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|17}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|17}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|18}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|18}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|18}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|18}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|18}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|18}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|19}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|19}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|19}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|19}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|19}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|19}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|20}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|20}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|20}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|20}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|20}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|20}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|21}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|21}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|21}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|21}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|21}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|21}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|22}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|22}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|22}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|22}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|22}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|22}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|23}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|23}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|23}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|23}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|23}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|23}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|24}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|24}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|24}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|24}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|24}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|24}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!-- -->{{#ifeq: {{#explode: {{{1}}} |*|25}}||| {{*}} {{#ifeq: {{#explode: {{#explode: {{{1}}} |*|25}} | {{!}} | 1 }} ||{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|25}} | {{!}} | 0 }} | 2 | -2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|25}} | {{!}} | 0 }} | 2 | -2 }}}}|{{Machine link|{{#sub: {{#explode: {{#explode: {{{1}}} |*|25}} | {{!}} | 0 }} | 2 }}|{{#sub: {{#explode: {{#explode: {{{1}}} |*|25}} | {{!}} | 1 }} | 0 | -2 }} }} }} }}<!--

Template Machine link content: {{#if: {{{2|}}} | [[{{{1}}}{{If language suffix}}|{{Translation|{{{2}}}}}]] | [[{{{1}}}{{If language suffix}}|{{Translation|{{{1}}}}}]] }}