Template:Crafting/parsing: Difference between revisions

From Space Exploration
Jump to navigation Jump to search
imported>Ahopefulhobbit
trying to get infoboxes working
 
imported>Ahopefulhobbit
swapped #explode with #invoke: string|explode|
Line 1: Line 1:
{{#ifeq: {{{1}}}|?|?|{{Crafting/parsing/split
{{#ifeq: {{{1}}}|?|?|{{Crafting/parsing/split
|
|
{{#explode: {{{1}}} | = | 0 }}
{{#invoke: string|explode|{{{1}}} | = | 0 }}
}}
}}


{{#ifeq: {{#explode: {{{1}}} | = | 1 }} ||
{{#ifeq: {{#invoke: string|explode|{{{1}}} | = | 1 }} ||
→ {{icon/special|{{No language suffix/No namespace}}|1 }}
→ {{icon/special|{{No language suffix/No namespace}}|1 }}
|
|
→ {{Crafting/parsing/split
→ {{Crafting/parsing/split
|
|
{{#explode: {{{1}}} | = | 1 }}
{{#invoke: string|explode|{{{1}}} | = | 1 }}
}}
}}
}}
}}
}}
}}

Revision as of 02:42, 19 November 2021

[[File:{{{1}}}.png|32px]]
1

→

[[File:{{{1}}}.png|32px]]
1