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

From Vendetta Lua
Jump to navigationJump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{#explode:{{{list}}} |//| {{#expr:{{{1}}} + 1}} }}
<includeonly>{{#ifexpr: {{#if: {{#explode: {{{list}}} |//| {{{1}}} }} | 1 | 0 }} or {{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | 1 | 0 }}
|table = { {{Function_wrapped/component | {{#explode:{{{list}}} |//| {{#expr:{{{1}}} + 1}} }}
  |{{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 3}} }} |{{nbsp}}[|}}{{
  |{{#ifexpr:{{#if:{{{1}}}|1|0}} or {{#if:{{{2}}}|1|0}}
    #ifexpr: {{{1}}} > 0|,|}} {{
  |{{#if:{{{3|}}}|{{nbsp}}[|}}{{#if:{{{4|}}}|,|}}{{#if:{{{2}}}|{{nbsp|{{{4}}}}}{{{2}}}|}}{{#if:{{{1}}}|{{nbsp|{{{4}}}}}'''''{{{1}}}'''''|}}{{#if:{{{3|}}}|]|}}
    #if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | {{nbsp}}{{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | }} {{
  |
    #if: {{#explode: {{{list}}} |//| {{{1}}} }} |{{nbsp}}'''''{{#explode: {{{list}}} |//| {{{1}}} }}'''''|}} {{
  }}
    #if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 3}} }} |]|}}
|
}}</includeonly>
}}</includeonly>

Latest revision as of 03:52, 19 October 2011