Template:Lineup inv: Difference between revisions

From Hattrick
Jump to navigationJump to search
Teles (talk | contribs)
No edit summary
Teles (talk | contribs)
No edit summary
Line 4: Line 4:
| width="120" |
| width="120" |


| width="120" | {{#ifeq: {{{LFW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LFW-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LFW|}}}|{{{LFW}}}|  }}
| width="120" | {{#ifeq: {{{LFW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LFW-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LFW|}}}|{{{LFW}}}|&nbsp; }} {{#if:{{{LFW-Star|}}}|<br/>{{{LFW-Star}}}}}


| width="120" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#if: {{{FW|}}}|{{{FW}}}|&nbsp; }}
| width="120" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#if: {{{FW|}}}|{{{FW}}}|&nbsp; }} {{#if:{{{FW-Star|}}}|<br/>{{{FW-Star}}}}}
 
| width="120" | {{#ifeq: {{{RFW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|&nbsp; }}


| width="120" | {{#ifeq: {{{RFW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|&nbsp; }} {{#if:{{{RFW-Star|}}}|<br/>{{{RFW
| width="120" |
| width="120" |


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| width="120" | {{#ifeq: {{{LW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LW-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LW-Beh}}}|Mid|[[Image:behaviour_right.png|16px]]}}{{#if: {{{LW|}}}|{{{LW}}} }}
| width="120" | {{#ifeq: {{{LW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LW-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LW-Beh}}}|Mid|[[Image:behaviour_right.png|16px]]}}{{#if: {{{LW|}}}|{{{LW}}} }} {{#if:{{{LW-Star|}}}|<br/>{{{LW-Star}}}}}


| style="border-bottom:4px solid #fff;" width="120" | {{#ifeq: {{{LIM-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LIM-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LIM-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LIM|}}}|{{{LIM}}}|&nbsp; }}
| style="border-bottom:4px solid #fff;" width="120" | {{#ifeq: {{{LIM-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LIM-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LIM-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LIM|}}}|{{{LIM}}}|&nbsp; }} {{#if:{{{LIM-Star|}}}|<br/>{{{LIM-Star}}}}}


| style="border-bottom:4px solid #fff;" width="120" | {{#ifeq: {{{IM-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{IM-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#if: {{{IM|}}}|{{{IM}}}|&nbsp; }}
| style="border-bottom:4px solid #fff;" width="120" | {{#ifeq: {{{IM-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{IM-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#if: {{{IM|}}}|{{{IM}}}|&nbsp; }} {{#if:{{{IM-Star|}}}|<br/>{{{IM-Star}}}}}


| style="border-bottom:4px solid #fff;" width="120" | {{#ifeq: {{{RIM-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RIM-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RIM-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RIM|}}}|{{{RIM}}}|&nbsp; }}
| style="border-bottom:4px solid #fff;" width="120" | {{#ifeq: {{{RIM-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RIM-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RIM-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RIM|}}}|{{{RIM}}}|&nbsp; }} {{#if:{{{RIM-Star|}}}|<br/>{{{RIM-Star}}}}}


| width="120" | {{#ifeq: {{{RW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RW-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RW-Beh}}}|Mid|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RW|}}}|{{{RW}}}|&nbsp; }}
| width="120" | {{#ifeq: {{{RW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RW-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RW-Beh}}}|Mid|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RW|}}}|{{{RW}}}|&nbsp; }} {{#if:{{{RW-Star|}}}|<br/>{{{RW-Star}}}}}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| width="120" | {{#ifeq: {{{LB-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LB-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LB-Beh}}}|Mid|[[Image:behaviour_right.png|16px]]}}{{#if: {{{LB|}}}|{{{LB}}}|&nbsp; }}
| width="120" | {{#ifeq: {{{LB-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LB-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LB-Beh}}}|Mid|[[Image:behaviour_right.png|16px]]}}{{#if: {{{LB|}}}|{{{LB}}}|&nbsp; }} {{#if:{{{LB-Star|}}}|<br/>{{{LB-Star}}}}}


| style="border-left:4px solid #fff;" width="120" | {{#ifeq: {{{LCD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LCD-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LCD|}}}|{{{LCD}}}|&nbsp; }}
| style="border-left:4px solid #fff;" width="120" | {{#ifeq: {{{LCD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LCD-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LCD|}}}|{{{LCD}}}|&nbsp; }} {{#if:{{{LCD-Star|}}}|<br/>{{{LCD-Star}}}}}


| width="120" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#if: {{{CD|}}}|{{{CD}}}|&nbsp; }}
| width="120" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#if: {{{CD|}}}|{{{CD}}}|&nbsp; }} {{#if:{{{CD-Star|}}}|<br/>{{{CD-Star}}}}}


| style="border-right:4px solid #fff;" width="120" | {{#ifeq: {{{RCD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RCD-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RCD|}}}|{{{RCD}}}|&nbsp; }}
| style="border-right:4px solid #fff;" width="120" | {{#ifeq: {{{RCD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RCD-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RCD|}}}|{{{RCD}}}|&nbsp; }} {{#if:{{{RCD-Star|}}}|<br/>{{{RCD-Star}}}}}


| width="120" | {{#ifeq: {{{RB-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RB-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RB-Beh}}}|Mid|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RB|}}}|{{{RB}}}|&nbsp; }}
| width="120" | {{#ifeq: {{{RB-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RB-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RB-Beh}}}|Mid|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RB|}}}|{{{RB}}}|&nbsp; }} {{#if:{{{RB-Star|}}}|<br/>{{{RB-Star}}}}}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| || style="border-left:4px solid #fff" | || style="border: 4px solid #fff; border-bottom:0" width="120" | {{#if: {{{GK|}}}|{{{GK}}}|&nbsp; }} || style="border-right:4px solid #fff" | ||   
| || style="border-left:4px solid #fff" | || style="border: 4px solid #fff; border-bottom:0" width="120" | {{#if: {{{GK|}}}|{{{GK}}}|&nbsp; }} {{#if:{{{GK-Star|}}}|<br/>{{{GK-Star}}}}} || style="border-right:4px solid #fff" | ||   


|- bgcolor=#fff align="center"
|- bgcolor=#fff align="center"

Revision as of 21:50, 14 November 2011

      {{#if:|
{{{RFW
       
         
 


Use like this: (and see example)

{{lineup_inv |
| 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