Template:Squadtable: Difference between revisions

From Hattrick
Jump to navigationJump to search
Para Para (talk | contribs)
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…'
 
Para Para (talk | contribs)
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}}}</th><th width=5>{{{5}}}{{card|yellow}} {{{6}}}{{card|red}}</th><th width=5%>{{{7}}}</th><th width=5%>{{{8}}}</th><th width=6%>{{{9}}}</th><th width=5%>{{{10}}}{{card|yellow}} {{{11}}}{{card|red}}</th><th width=7%>{{{12}}}</th><th width=6%>{{{13}}}</th><th width=5%></th><th width=4%>{{{14}}}</th><th>{{{15}}}</th></tr></table>
</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|class=prettytable}}
<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|class=prettytable}}
 
{{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 LEAGUE CUP FRIENDLY TOTAL
00John Doh30HeadIMfor sail234567891011
TOTAL 123yellow card 4red card 556yellow card 7red card 89 1011