Template:Squadtable: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
<th colspan=3 width=16% style="border-bottom:1px solid #0AD"> [[image:Cup-icon.png|border]] CUP </th> | <th colspan=3 width=16% style="border-bottom:1px solid #0AD"> [[image:Cup-icon.png|border]] CUP </th> | ||
<th colspan=2 width=13% style="border-bottom:1px solid #DDD; text-align:right" > [[image:Friendly-icon.png|border]] FRIENDLY </th> | <th colspan=2 width=13% style="border-bottom:1px solid #DDD; text-align:right" > [[image:Friendly-icon.png|border]] FRIENDLY </th> | ||
<th colspan=2 width=9% style="text-align:right"> TOTAL </th><th></th></tr> | <th colspan=2 width= 9% style="text-align:right"> TOTAL </th><th></th></tr> | ||
<tr><td></td><td colspan=12><table class="sortable" cellspacing=0 style="{{{style2}}}"> | <tr><td></td><td colspan=12> | ||
<tr style=" | <table class="sortable" border=0 cellspacing=0 style="{{{style2}}}"> | ||
<td></td> | <tr style="font-size:7pt;"> | ||
<td class=unsortable width=3%> </td> | <td class="sortable"></td> | ||
<td width=24%></td> | <td class="unsortable" width=3%> </td> | ||
<td width=3%> </td> | <td class="sortable" width=24%></td> | ||
<td class=unsortable></td> | <td class="sortable" width=3%> </td> | ||
<td width=3%> </td> | <td class="unsortable"></td> | ||
<td class=unsortable width=3%> </td> | <td class="sortable" width=3%> </td> | ||
<td width=6%>[[file:Gamesplayed.png|15px]]</td> | <td class="unsortable" width=3%> </td> | ||
<td width=6%>[[File:soccerball.png|15px]] </td> | <td class="sortable" width=6%>[[file:Gamesplayed.png|15px]]</td> | ||
<td width=6%>[[File: | <td class="sortable" width=6%>[[File:soccerball.png|15px]] </td> | ||
<td width=6%>[[file:Gamesplayed.png|15px]]</td> | <td class="sortable" width=6%>[[File:Yellowred card new.gif]]</td> | ||
<td width=6%>[[File:soccerball.png|15px]] </td> | <td class="sortable" width=6%>[[file:Gamesplayed.png|15px]]</td> | ||
<td width=6%>[[File: | <td class="sortable" width=6%>[[File:soccerball.png|15px]] </td> | ||
<td width=6%>[[file:Gamesplayed.png|15px]]</td> | <td class="sortable" width=6%>[[File:Yellowred card new.gif]]</td> | ||
<td width=6%>[[File:soccerball.png|15px]] </td> | <td class="sortable" width=6%>[[file:Gamesplayed.png|15px]]</td> | ||
<td class=unsortable> </td> | <td class="sortable" width=6%>[[File:soccerball.png|15px]] </td> | ||
<td width=6%>[[file:Gamesplayed.png|15px]]</td> | <td class="sortable" class="unsortable"> </td> | ||
<td width=6%>[[File:soccerball.png|15px]] </td> | <td class="sortable" width=6%>[[file:Gamesplayed.png|15px]]</td> | ||
<td class="sortable" width=6%>[[File:soccerball.png|15px]] </td> | |||
</tr> | </tr> | ||
|<!-- | |<!-- | ||
-->{{#ifeq:{{{1}}}|footer| | -->{{#ifeq:{{{1}}}|footer| | ||
</table></td></tr><td></td><tr> | </table></td></tr><td style="{{{style}}}"></td><tr> | ||
<th></th><th width=420px>TOTAL</th> | <th></th><th width=420px>TOTAL</th> | ||
<th width=5%>{{{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> | ||
| Line 43: | Line 44: | ||
<td>'''{{{name}}}'''</td><td>{{{age}}}</td><td>{{Speciality|{{{spec}}}}}</td><td>{{{pos}}}</td><td>{{{info}}}</td> | <td>'''{{{name}}}'''</td><td>{{{age}}}</td><td>{{Speciality|{{{spec}}}}}</td><td>{{{pos}}}</td><td>{{{info}}}</td> | ||
<td>{{{lm}}}</td><td>{{{lg}}}</td><td>{{{lc}}}</td><td>{{{cm}}}</td><td>{{{cg}}}</td><td>{{{cc}}}</td> | <td>{{{lm}}}</td><td>{{{lg}}}</td><td>{{{lc}}}</td><td>{{{cm}}}</td><td>{{{cg}}}</td><td>{{{cc}}}</td> | ||
<td>{{{fm}}}</td><td>{{{fg}}}</td><td bgcolor=#C57></td><td>{{{tm}}}</td><td>{{{tg}}}</td><td></td></tr>}}}}<noinclude | <td>{{{fm}}}</td><td>{{{fg}}}</td><td bgcolor=#C57></td><td>{{{tm}}}</td><td>{{{tg}}}</td><td></td></tr>}}}}<noinclude> | ||
{| width=100% bgcolor= #ecfcf4 | |||
<b>SQUADTABLE</b> | |+<b>SQUADTABLE</b> | ||
| | |||
This template creates seasonal SQUAD LIST with game statistics. | This template creates seasonal SQUAD LIST with game statistics. | ||
== EXAMPLE == | == EXAMPLE == | ||
{| width=80% | |||
<pre>{{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;}} | |<pre>{{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 | {{squadtable|color=#AAA|style=color:red | ||
| Line 57: | Line 59: | ||
{{squadtable|color=#888|style=color:darkblue | {{squadtable|color=#888|style=color:darkblue | ||
|num=00|nat=|name=John Doh II|age=23|spec=quick|pos=FW|info=[[file:Goldenboot | |num=00|nat=|name=John Doh II|age=23|spec=quick|pos=FW|info=[[file:Goldenboot .png|x20px|Free kicks]] | ||
|lm=1 |lg=2 |lc=1 |cm=1 |cg=1 |cc=0 |fm=1 |fg=2 |tm=3 |tg=3}} | |lm=1 |lg=2 |lc=1 |cm=1 |cg=1 |cc=0 |fm=1 |fg=2 |tm=3 |tg=3}} | ||
{{squadtable|footer | {{squadtable|footer | ||
|tlm=2|tlg=3|tlc=1|tcm=2|tcg=3|tcc=2|tfm=1|tfg=2|totm=4|totg=6}}</pre> | |tlm=2|tlg=3|tlc=1|tcm=2|tcg=3|tcc=2|tfm=1|tfg=2|totm=4|totg=6}}</pre> | ||
|} | |||
=== RESULT === | === RESULT === | ||
| Line 70: | Line 72: | ||
|lm=2 |lg=1 |lc=0 |cm=1 |cg=2 |cc=2 |fm=1 |fg=0 |tm=4 |tg=3}} | |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 | {{squadtable|color=#888|style=color:darkblue | ||
|num=00|nat=|name=John Doh II|age=23|spec=quick|pos=FW|info=[[file:Goldenboot | |num=00|nat=|name=John Doh II|age=23|spec=quick|pos=FW|info=[[file:Goldenboot.png|x20px|Free kicks]] | ||
|lm=1 |lg=2 |lc=1 |cm=1 |cg=1 |cc=0 |fm=1 |fg=2 |tm=3 |tg=3}} | |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}} | {{squadtable|footer | ||
|tlm=2|tlg=3|tlc=1|tcm=2|tcg=3|tcc=2|tfm=1|tfg=2|totm=4|totg=6}} | |||
|} | |||
[[Category:Group Templates]] | [[Category:Group Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:03, 22 August 2020
{{{num}}}{{country data {{{nat}}}
| country flagicon2 | variant= | altlink= | size=
}} {{{name}}}{{{age}}}none{{{pos}}}{{{info}}} {{{lm}}}{{{lg}}}{{{lc}}}{{{cm}}}{{{cg}}}{{{cc}}} {{{fm}}}{{{fg}}}{{{tm}}}{{{tg}}}