Template:Squadtable: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
No edit summary
Para Para (talk | contribs)
No edit summary
Line 31: Line 31:
-->{{#ifeq:{{{1}}}|footer|
-->{{#ifeq:{{{1}}}|footer|
</table></td></tr><td></td><tr>
</table></td></tr><td></td><tr>
<th></th><th>TOTAL</th>
<th></th><th width=33%>TOTAL</th>
<th style="text-align:center">{{{tlm}}}</th><th width=6%>{{{tlg}}}</th><th width=6%>{{{tlc}}}</th>
<th width=5%>{{{tlm}}} </th><th width=6%>{{{tlg}}} </th><th width=6%>{{{tlc}}}</th>
<th style="text-align:center">{{{tcm}}}</th><th width=5%>{{{tcg}}}</th><th width=6%>{{{tcc}}}</th>
<th width=5%>{{{tcm}}} </th><th width=5%>{{{tcg}}} </th><th width=6%>{{{tcc}}}</th>
<th style="text-align:right">{{{tfm}}}</th><th width=6%>{{{tfg}}}</th><th></th>
<th width=7%>{{{tfm}}} </th><th width=6%>{{{tfg}}} </th><th></th>
<th width=5% align=center>{{{totm}}}</th><th width=4%>{{{totg}}}</th>
<th width=5%>{{{totm}}}</th><th width=4%>{{{totg}}}&nbsp;</th>
</tr></table>
</tr></table>
|<!--
|<!--

Revision as of 14:17, 15 June 2013

{{{num}}}{{country data {{{nat}}}

| country flagicon2 | variant= | altlink= | size=

}} {{{name}}}{{{age}}}none{{{pos}}}{{{info}}} {{{lm}}}{{{lg}}}{{{lc}}}{{{cm}}}{{{cg}}}{{{cc}}} {{{fm}}}{{{fg}}}{{{tm}}}{{{tg}}}

SQUADTABLE
This template creates seasonal SQUAD LIST with game statistics.

EXAMPLE

{{squadtable|header|style=width:760px; background:#AAA; text-align:center; border:1px #777 solid; border-radius:9px; border-right:3px solid black; border-bottom:3px solid black;|style2=background:#AAA; text-align:center;}}
{{squadtable|color=lightgrey|style=color:white|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=[[file:captain sports.png|14px|Captain]]|lm=1|lg=2|lc=3|cm=4|cg=5|cc=6|fm=7|fg=8|tm=9|tg=11}}
{{squadtable|footer|tlm=1|tlg=2|tlc=3|tcm=4|tcg=5|tcc=6|tfm=7|tfg=8|totm=9|totg=11}}

RESULT

PLAYER LEAGUE CUP FRIENDLY TOTAL
00 John Doh30HeadIMCaptain 123456 78911
TOTAL 1 2 3 4 5 6 7 8 911