Template:Squadtable: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
mNo edit summary
Para Para (talk | contribs)
mNo edit summary
Line 28: Line 28:
<td class="sortable" width=6%>[[File:soccerball.png|15px]] </td>
<td class="sortable" width=6%>[[File:soccerball.png|15px]] </td>
</tr>
</tr>
<!--
|<!--


-->{{#ifeq:{{{1}}}|footer|
-->{{#ifeq:{{{1}}}|footer|

Revision as of 17:29, 19 March 2014



SQUADTABLE
This template creates seasonal SQUAD LIST with game statistics.

EXAMPLE

{{squadtable|header|style=width:760px; background:lightgrey; text-align:center; border:1px #777 solid; border-radius:9px; border-right:3px solid black; border-bottom:3px solid black;|style2=background:lightgrey; text-align:center;}}

{{squadtable|color=#AAA|style=color:red
	|num=00|nat=|name=John Doh I|age=32|spec=head|pos=IM|info=[[file:captain sports.png|14px|Captain]]
	|lm=2 |lg=1 |lc=0 |cm=1 |cg=2 |cc=2 |fm=1 |fg=0 |tm=4 |tg=3}}

{{squadtable|color=#888|style=color:darkblue
	|num=00|nat=|name=John Doh II|age=23|spec=quick|pos=FW|info=[[file:Goldenboot VI.gif|x20px|Free kicks]]
	|lm=1 |lg=2 |lc=1 |cm=1 |cg=1 |cc=0 |fm=1 |fg=2 |tm=3 |tg=3}}

{{squadtable|footer
	|tlm=2|tlg=3|tlc=1|tcm=2|tcg=3|tcc=2|tfm=1|tfg=2|totm=4|totg=6}}

RESULT

PLAYER LEAGUE CUP FRIENDLY TOTAL
TOTAL 2 3 1 2 3 2 1 2 4

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

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

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