Template:Squadtable: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<table cellspacing=0 style="{{{style}}}"> | <table cellspacing=0 style="{{{style}}}"> | ||
<tr><th></th> | <tr><th></th> | ||
<th width= | <th width=400px> PLAYER </th><th colspan=3 width=17% style="border-bottom:1px solid #DDD"> [[image:League-icon.png|border]] LEAGUE </th> | ||
<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 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><table class=sortable cellspacing=0 style="{{{style2}}}"> | ||
<tr style="color:white; font-size:7pt;"> | <tr style="color:white; font-size:7pt;"> | ||
| Line 50: | Line 50: | ||
== EXAMPLE == | == EXAMPLE == | ||
<pre>{{squadtable|header|style=width:760px; background: | <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= | |||
{{squadtable|color=#AAA|style=color:red | |||
|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=[[file:captain sports.png|14px|Captain]] | |||
|lm=1|lg=1|lc=3|cm=4|cg=5|cc=6|fm=7|fg=8|tm=9|tg=0}} | |||
{{squadtable|color=#CCC|style=color:darkblue | |||
|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=[[file:captain sports.png|14px|Captain]] | |||
|lm=2|lg=2|lc=3|cm=4|cg=5|cc=6|fm=7|fg=8|tm=9|tg=0}} | |||
{{squadtable|footer|tlm=1|tlg=2|tlc=3|tcm=4|tcg=5|tcc=6|tfm=7|tfg=8|totm=9|totg=0}}</pre> | {{squadtable|footer|tlm=1|tlg=2|tlc=3|tcm=4|tcg=5|tcc=6|tfm=7|tfg=8|totm=9|totg=0}}</pre> | ||
=== RESULT === | === RESULT === | ||
{{squadtable|header|style=width:760px; background: | {{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= | {{squadtable|color=#AAA|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=0}}{{squadtable|color=#AAA|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=0}} | ||
{{squadtable|footer|tlm=1|tlg=2|tlc=3|tcm=4|tcg=5|tcc=6|tfm=7|tfg=8|totm=9|totg=0}}</noinclude><noinclude> | {{squadtable|footer|tlm=1|tlg=2|tlc=3|tcm=4|tcg=5|tcc=6|tfm=7|tfg=8|totm=9|totg=0}}</noinclude><noinclude> | ||
[[Category:Group Templates]] | [[Category:Group Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 18:19, 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: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|age=30|spec=head|pos=IM|info=[[file:captain sports.png|14px|Captain]]
|lm=1|lg=1|lc=3|cm=4|cg=5|cc=6|fm=7|fg=8|tm=9|tg=0}}
{{squadtable|color=#CCC|style=color:darkblue
|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=[[file:captain sports.png|14px|Captain]]
|lm=2|lg=2|lc=3|cm=4|cg=5|cc=6|fm=7|fg=8|tm=9|tg=0}}
{{squadtable|footer|tlm=1|tlg=2|tlc=3|tcm=4|tcg=5|tcc=6|tfm=7|tfg=8|totm=9|totg=0}}
RESULT
| PLAYER | |
|
|
TOTAL | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TOTAL | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||