Template:Function wrapped/component/item: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Undo revision 1905 by Draugath (Talk)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }}
{{#switch: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }}
  |table     = {{#ifexpr: {{#if: {{#explode: {{{list}}} |//| {{{1}}} }} | 1 | 0 }} or {{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | 1 | 0 }}
  |tablee     = {{#ifexpr: {{#if: {{#explode: {{{list}}} |//| {{{1}}} }} | 1 | 0 }} or {{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | 1 | 0 }}
               |{{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 2}} }} |{{nbsp}}[|}} {{
               |{{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 2}} }} |{{nbsp}}[|}} {{
                   #ifexpr: {{{1}}} > 0|,|}} {{
                   #ifexpr: {{{1}}} > 0|,|}} {{

Revision as of 19:43, 17 October 2011