Template:Lineup inv: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
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}}}| }} {{#if:{{{LFW-Star|}}}|<br/>{{{LFW-Star}}}}} | ||
| width="120" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#if: {{{FW|}}}|{{{FW}}}| }} | | width="120" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#if: {{{FW|}}}|{{{FW}}}| }} {{#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}}}| }} {{#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}}}| }} | | 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}}}| }} {{#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}}}| }} | | 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}}}| }} {{#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}}}| }} | | 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}}}| }} {{#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}}}| }} | | 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}}}| }} {{#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}}}| }} | | 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}}}| }} {{#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}}}| }} | | 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}}}| }} {{#if:{{{LCD-Star|}}}|<br/>{{{LCD-Star}}}}} | ||
| width="120" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#if: {{{CD|}}}|{{{CD}}}| }} | | width="120" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#if: {{{CD|}}}|{{{CD}}}| }} {{#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}}}| }} | | 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}}}| }} {{#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}}}| }} | | 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}}}| }} {{#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}}}| }} || 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}}}| }} {{#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