User:Lirion/Sandbox/Squad: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lirion (talk | contribs)
No edit summary
Lirion (talk | contribs)
No edit summary
Line 5: Line 5:
{{#if: {{{1name}}} |
{{#if: {{{1name}}} |
{{!}}{{{1no|-}}}
{{!}}{{{1no|-}}}
{{!!}}{{{1pos|?}}}
{{!!}}{{{1pos|-}}}
{{!!}}{{ flagicon|{{{1nat|}}} }}
{{!!}}{{ flagicon|{{{1nat|}}} }}
{{!!}}{{{1name}}}
{{!!}}{{{1name}}}
Line 13: Line 13:


<noinclude>
<noinclude>
Until we have no true loop function, ignore this.
Due to no loop abaility of this MediaWiki so far, we have to use an if expression for ''each possible row/player'' (sic).
You have to provide at least the name for each player you want to insert. Variables are:
'''''n''name
 
Until we have no true loop function, ignore this:


{{ #for: n |
{{ #for: n |

Revision as of 18:48, 21 July 2010

No. Pos. Nat. Name Matches
- {{{1name}}} -


Due to no loop abaility of this MediaWiki so far, we have to use an if expression for each possible row/player (sic). You have to provide at least the name for each player you want to insert. Variables are: nname

Until we have no true loop function, ignore this:

{{ #for: n |

No. Pos. Nat. Name Matches
{{{$n$no}}} {{{$n$pos}}} {{{$n$nat}}} {{{$n$name}}} {{{$n$match}}}

}}