Template:Squadtable: Difference between revisions
From Hattrick
Jump to navigationJump to search
Created page with '{{#ifeq:{{{1}}}|header| <table cellspacing=0 style="width:760px; color:white; background:#C57; margin-left:1em; text-align:center; border:1px #777 solid; border-radius:9px; borde…' |
No edit summary |
||
| Line 30: | Line 30: | ||
-->{{#ifeq:{{{1}}}|footer| | -->{{#ifeq:{{{1}}}|footer| | ||
</table></td></tr><td></td><tr><th></th><th>TOTAL</th><th width=5%>{{{2}}}</th><th width=6%>{{{3}}}</th><th width=6%>{{{4 | </table></td></tr><td></td><tr><th></th><th>TOTAL</th> | ||
<th width=5%>{{{2}}}</th><th width=6%>{{{3}}}</th><th width=6%>{{{4}}}{{card|yellow}} {{{5}}}{{card|red}}</th> | |||
<th width=5%>{{{6}}}</th><th width=5%>{{{6}}}</th><th width=6%>{{{7}}}{{card|yellow}} {{{8}}}{{card|red}}</th> | |||
<th width=7%>{{{9}}}</th><th width=6%>{{{10}}}</th><th width=5%></th> | |||
<th width=4%>{{{11}}}</th><th>{{{12}}}</th></tr></table> | |||
|<!-- | |<!-- | ||
| Line 41: | Line 45: | ||
== EXAMPLE == | == EXAMPLE == | ||
<pre>{{squadtable|header| | <pre> | ||
{{squadtable|header|width:760px; color:white; background:#C57; margin-left:1em; text-align:center; border:1px #777 solid; border-radius:9px; border-right:3px solid black; border-bottom:3px solid black;|background:#C57; text-align:center;}} | |||
{{squadtable|color=white|style=color:red|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=for sail|1|2|3|4|5|6|7|8|9|10|}} | {{squadtable|color=white|style=color:red|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=for sail|1|2|3|4|5|6|7|8|9|10|}} | ||
{{squadtable|footer}}</pre> | {{squadtable|footer}}</pre> | ||
| Line 47: | Line 52: | ||
=== RESULT === | === RESULT === | ||
{{squadtable|header| | |||
{{squadtable|color=white|style=color:red|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=for sail|1|2|3|4|5|6|7|8|9|10|}} | {{squadtable|header|width:760px; color:white; background:#C57; text-align:center; border:1px #777 solid; border-radius:9px; border-right:3px solid black; border-bottom:3px solid black;|background:#C57; text-align:center;}} | ||
{{squadtable|footer}}</noinclude><noinclude> | {{squadtable|color=white|style=color:red|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=for sail|1|2|3|4|5|6|7|8|9|10|11}} | ||
{{squadtable|footer|1|2|3|4|5|6|7|8|9|10|11}}</noinclude><noinclude> | |||
[[Category:Group Templates]] | [[Category:Group Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 19:08, 5 June 2013
{{{num}}}{{country data {{{nat}}}
| country flagicon2 | variant= | altlink= | size=
}}{{{name}}}{{{age}}}none{{{pos}}}{{{info}}}{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}
SQUADTABLE
This template creates seasonal SQUAD LIST with game statistics.
EXAMPLE
{{squadtable|header|width:760px; color:white; background:#C57; margin-left:1em; text-align:center; border:1px #777 solid; border-radius:9px; border-right:3px solid black; border-bottom:3px solid black;|background:#C57; text-align:center;}}
{{squadtable|color=white|style=color:red|num=00|nat=|name=John Doh|age=30|spec=head|pos=IM|info=for sail|1|2|3|4|5|6|7|8|9|10|}}
{{squadtable|footer}}
RESULT
| PLAYER | |
|
|
TOTAL | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| TOTAL | 1 | 2 | 3 |
5 | 5 | 6 |
8 | 9 | 10 | 11 | ||||||||||||||||||||||||||||||||||||||