User:Lirion/Sandbox/Squad: Difference between revisions

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



Revision as of 18:52, 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}}}

}}