Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Iterate/doc: Difference between revisions

Template page
first version
 
m syntaxhighlight lang="wikitext"
 
(2 intermediate revisions by 2 users not shown)
Line 15: Line 15:


   |3      =n
   |3      =n
   |3d-en  =number of the changing parameters, 1 ...  
   |3d-en  =number of n the changing parameters passed on to the transcluted template on the first n paramter positions, 1 ... ''n''
   |3def  =2
   |3def  =2
   |3stat  =optional-
   |3stat  =optional-
   
   
   |4      =p{{sub|1}} ... p{{sub|8}}
   |4      =p{{sub|1}} ... p{{sub|8}}
   |4d-en  =all the not-changing parameters
   |4d-en  =all the not-changing parameters passed on to the transcluted template after the first n positions
   |4stat  =optional-
   |4stat  =optional-
   
   
Line 61: Line 61:
# {{Tle|t=<code>template</code>|r|s|t|c1|c2|...|c8}}
# {{Tle|t=<code>template</code>|r|s|t|c1|c2|...|c8}}
# {{Tle|t=<code>template</code>|x|y|z|c1|c2|...|c8}}
# {{Tle|t=<code>template</code>|x|y|z|c1|c2|...|c8}}
The ''tupel''-number <code>n</code> can be any value 1,2, ...; the example schows a tripel.<br>
The ''tupel''-number <code>n</code> can be any value 1,2, ...; this example schows a tripel.<br>
The number of the tupels, in the example 4, is not limited.<br>  
The number of the tupels, in the example 4, is not limited.<br>  
The additional values are currently limited to 8, therefore 0 ...8 values can be specified.
The additional values are currently limited to 8, therefore 0 ...8 values can be specified.




With: <pre>{{Iterate
With: <syntaxhighlight lang="wikitext">{{ Iterate
|Pink check.svg|
| Pink check.svg   |
|Purple check.svg|
| Purple check.svg |
|Yellow check.svg|
| Yellow check.svg |
|White check.svg|b
| White check.svg | b
|Red check.svg|
| Red check.svg   |
|p2=Z|p1=32}}</pre>
| p2=Z | p1=32 }}</syntaxhighlight>
(default for <code>t=F</code> and <code>n=2</code>)<br>
(default for <code>t=F</code> and <code>n=2</code>)<br>
<syntaxhighlight lang="wikitext">
{{ F | Pink check.svg  |  | 32 | Z }}
{{ F | Purple check.svg |  | 32 | Z }}
{{ F | Yellow check.svg |  | 32 | Z }}
{{ F | White check.svg  | b | 32 | Z }}
{{ F | Red check.svg    |  | 32 | Z }}
</syntaxhighlight>
these five files are shown:
these five files are shown:
{{Iterate
{{Iterate
|Pink check.svg|
| Pink check.svg   |
|Purple check.svg|
| Purple check.svg |
|Yellow check.svg|
| Yellow check.svg |
|White check.svg|b
| White check.svg | b
|Red check.svg|
| Red check.svg   |
|p1=32|p2=Z}}
| p2=Z| p1=32 }}


<includeonly>
;Note&#58;: With {{Tle|T=Filelist|p1=d|32|p2=o|Z|p3=c|n|p4=q4|b|Pink check.svg|Purple check.svg|Yellow check.svg|White check.svg|Red check.svg}}
<!-- Categories below this line; interwikis at Wikidata -->
the same display is shown: {{Filelist|Pink check.svg|Purple check.svg|Yellow check.svg|White check.svg|Red check.svg|d=32|o=Z|c=n|q4=b}}
 
}}</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.