Template:Function wrapped/component/item: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
No edit summary |
actually removed optional checking. |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifexpr: {{#if: {{#explode: {{{list}}} |//| {{{1}}} }} | 1 | 0 }} or {{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | 1 | 0 }} | {{#ifexpr: {{#if: {{#explode: {{{list}}} |//| {{{1}}} }} | 1 | 0 }} or {{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | 1 | 0 }} | ||
|{{ | |{{#ifexpr: {{{1}}} > 0|,|}} {{ | ||
#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | {{nbsp}}{{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | }} {{ | #if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | {{nbsp}}{{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | }} {{ | ||
#if: {{#explode: {{{list}}} |//| {{{1}}} }} |{{nbsp}}'''''{{#explode: {{{list}}} |//| {{{1}}} }}'''''|}} | #if: {{#explode: {{{list}}} |//| {{{1}}} }} |{{nbsp}}'''''{{#explode: {{{list}}} |//| {{{1}}} }}'''''|}} | ||
|}} | |||
</includeonly> |