Template:Lineup: Difference between revisions

From Hattrick
Jump to navigationJump to search
Teles (talk | contribs)
No edit summary
Teles (talk | contribs)
No edit summary
Line 18: Line 18:


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| width="120" style="padding-bottom:{{#ifeq: {{{RW-Beh}}}|Def|25px|0}};padding-top:{{#ifeq: {{{RW-Beh}}}|Off|25px|0}};padding-left:{{#ifeq: {{{RW-Beh}}}|Mid|25px|0}};" | {{#if: {{{RW|}}}|{{{RW}}} }} || style="border-top:4px solid #fff;padding-top:{{#ifeq: {{{RIM-Beh}}}|Off|25px|0}};padding-bottom:{{#ifeq: {{{RIM-Beh}}}|Def|25px|0}};padding-right:{{#ifeq: {{{RIM-Beh}}}|Win|25px|0}};" width="120" | {{#if: {{{RIM|}}}|{{{RIM}}}|  }} || style="border-top:4px solid #fff;padding-top:{{#ifeq: {{{IM-Beh}}}|Off|25px|0}};padding-bottom:{{#ifeq: {{{IM-Beh}}}|Def|25px|0}};" width="120" | {{#if: {{{IM|}}}|{{{IM}}}|  }} || style="border-top:4px solid #fff" width="120;padding-top:{{#ifeq: {{{LIM-Beh}}}|Off|25px|0}};padding-bottom:{{#ifeq: {{{LIM-Beh}}}|Def|25px|0}};padding-left:{{#ifeq: {{{LIM-Beh}}}|Win|25px|0}};" | {{#if: {{{LIM|}}}|{{{LIM}}}|  }} || width="120" style="padding-bottom:{{#ifeq: {{{LW-Beh}}}|Def|25px|0}};padding-top:{{#ifeq: {{{LW-Beh}}}|Off|25px|0}};padding-right:{{#ifeq: {{{LW-Beh}}}|Mid|25px|0}};" | {{#if: {{{LW|}}}|{{{LW}}}|  }}
| width="120" | {{#ifeq: {{{RW-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#ifeq: {{{RW-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{RW-Beh}}}|Mid|[[Image:behaviour_right.png]]}}{{#if: {{{RW|}}}|{{{RW}}} }}
 
| style="border-top:4px solid #fff;" width="120" | {{#ifeq: {{{RIM-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{RIM-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#ifeq: {{{RIM-Beh}}}|Win|[[Image:behaviour_left.png]]}}{{#if: {{{RIM|}}}|{{{RIM}}}|  }}
 
| style="border-top:4px solid #fff;" width="120" | {{#ifeq: {{{IM-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{IM-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#if: {{{IM|}}}|{{{IM}}}|  }}
 
| style="border-top:4px solid #fff;" width="120" | {{#ifeq: {{{LIM-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{LIM-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#ifeq: {{{LIM-Beh}}}|Win|[[Image:behaviour_right.png]]}}{{#if: {{{LIM|}}}|{{{LIM}}}|  }}
 
| width="120" | {{#ifeq: {{{LW-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#ifeq: {{{LW-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{LW-Beh}}}|Mid|[[Image:behaviour_left.png]]}}{{#if: {{{LW|}}}|{{{LW}}}|  }}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| width="120" | || width="120" style="padding-bottom:{{#ifeq: {{{RFW-Beh}}}|Def|25px|0}};padding-right:{{#ifeq: {{{RFW-Beh}}}|Win|25px|0}};" | {{#if: {{{RFW|}}}|{{{RFW}}}|  }} || width="120" style="padding-bottom:{{#ifeq: {{{FW-Beh}}}|Def|25px|0}};" | {{#if: {{{FW|}}}|{{{FW}}}|  }} || width="120" style="padding-bottom:{{#ifeq: {{{LFW-Beh}}}|Def|25px|0}};padding-left:{{#ifeq: {{{LFW-Beh}}}|Win|25px|0}};" | {{#if: {{{LFW|}}}|{{{LFW}}}|  }} || width="120" |
| width="120" |
 
| width="120" | {{#ifeq: {{{RFW-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_left.png]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|  }}
 
| width="120" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#if: {{{FW|}}}|{{{FW}}}|  }}
 
| width="120" | {{#ifeq: {{{LFW-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#ifeq: {{{LFW-Beh}}}|Win|[[Image:behaviour_right.png]]}}{{#if: {{{LFW|}}}|{{{LFW}}}|  }}
 
| width="120" |
|}
|}
<noinclude>
<noinclude>

Revision as of 19:39, 14 November 2011

 
         
       
     


Use like this: (and see example)

{{lineup |
| GK = goal keeper
| RB = right winger defender
| RCD = right defender
| CD = central defender
| LCD = left defender
| LB = left winger defender
| RW = right winger
| RIM = right inner midfield
| IM = central inner midfield
| LIM = left inner midfield
| LW = left winger
| RFW = right forward
| FW = central forward
| LFW = left forward
| RB-Beh = Def
| LB-Beh = Off
| LFW-Beh = Win
}}
Use "*-Beh" for player behaviour according to his position, 
and set value to "Def" for Defensive, "Off" for Offensive, "Mid" for towards middle and "Win" for towards wings