Template:Xbs: Difference between revisions

From 2nd Book
Jump to navigationJump to search
No edit summary
No edit summary
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[{{{1}}} {{{2}}}:{{{3}}}-{{{4}}}]]


{{#vardefine: i | {{{3}}} }} {{#while:
{{#vardefine:a|{{{1}}} }}
| {{#ifexpr: {{#var: i }} <= {{{4}}} | true }}
{{#vardefine:b|{{{2}}} }}
| <nowiki />
{{#vardefine:c|{{{3}}} }}
* {{#var: i }} {{#vardefine: i | {{#expr: {{#var:i }} + 1 }} }}
{{#vardefine:d|{{{4}}} }}
}}
{{#vardefine:e|{{#expr: {{#var:d}} - {{#var:c}} + 1 }} }}
 
 
=1=
{{#for: {{#var:e}} | {{#var:a}} {{#var:b}} $n$ | $n$ }}
 
=2=
{{#for: {{#var:e}} | {{#vardefine:z$n$}} | $n$}}
{{#var:z$n$}}{{#var:z2}}{{#var:z3}}
 
=3=
{{#for: {{#var:e}} | {{#var:z$n$}} | $n$}}
 
=4=
 
{{#for: {{#var:e}} | {{#var:a}} {{#var:b}} | $n$ }}
 




[[{{{1}}} {{{2}}}:{{{3}}}-{{{4}}}]]


{{ #for: {{#expr:{{{4}}}-{{{3}}}+1}} | {{tr-bs|{{{1}}} {{{2}}}:{{expr:{{{3}}}+$n$}}}}
[[{{#var:a}} {{#var:b}}:{{#var:c}}-{{#var:d}}]]

Latest revision as of 18:10, 23 June 2022





1

2

3

4

[[{{{1}}} {{{2}}}:{{{3}}}-{{{4}}}]]

[[{{{1}}} {{{2}}}:{{{3}}}-{{{4}}}]]