Template:Function wrapped/component/item: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{#switch: {{#explode:{{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | <includeonly>{{#switch: {{#explode:{{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | ||
|table = { {{Function_wrapped/component | {{#explode:{{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | |table = { {{Function_wrapped/component | {{#explode:{{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | ||
|{{#ifexpr:{{#if:{{{1}}}|1|0}} or {{#if:{{{2}}}|1|0}} | |{{#ifexpr:{{#if:{{{1}}}|1|0}} or {{#if:{{{2}}}|1|0}} | ||
Line 5: | Line 5: | ||
| | | | ||
}} | }} | ||
}} | }}</includeonly> |