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

From Vendetta Lua
Jump to navigationJump to search
No edit summary
No edit summary
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{1}}} |{{#if:{{{3}}}|[|}}{{#if:{{{4}}}|, |}}{{#if:{{{2}}}|{{{2}}} |}}'''''{{{1}}}'''''{{#if:{{{3}}}|]|}}}}
<includeonly>{{#ifexpr: {{#if: {{#explode: {{{list}}} |//| {{{1}}} }} | 1 | 0 }} or {{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 1}} }} | 1 | 0 }}
|{{#if: {{#explode: {{{list}}} |//| {{#expr:{{{1}}} + 3}} }} |{{nbsp}}[|}}{{
    #ifexpr: {{{1}}} > 0|,|}} {{
    #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>

Latest revision as of 03:52, 19 October 2011