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 7: Line 7:


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


| style="border-left:4px solid #fff;" width="120" | {{#ifeq: {{{RCD-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{RCD-Beh}}}|Win|[[Image:behaviour_left.png]]}}{{#if: {{{RCD|}}}|{{{RCD}}}|  }}
| style="border-left:4px solid #fff;" width="120" | {{#ifeq: {{{RCD-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RCD-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RCD|}}}|{{{RCD}}}|  }}


| width="120" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#if: {{{CD|}}}|{{{CD}}}|  }}
| width="120" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#if: {{{CD|}}}|{{{CD}}}|  }}


| style="border-right:4px solid #fff;" width="120" | {{#ifeq: {{{LCD-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{LCD-Beh}}}|Win|[[Image:behaviour_right.png]]}}{{#if: {{{LCD|}}}|{{{LCD}}}|  }}
| style="border-right:4px solid #fff;" width="120" | {{#ifeq: {{{LCD-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LCD-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{LCD|}}}|{{{LCD}}}|  }}


| width="120" | {{#ifeq: {{{LB-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#ifeq: {{{LB-Beh}}}|Off|[[Image:behaviour_down.png]]}}{{#ifeq: {{{LB-Beh}}}|Mid|[[Image:behaviour_left.png]]}}{{#if: {{{LB|}}}|{{{LB}}}|  }}
| width="120" | {{#ifeq: {{{LB-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LB-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LB-Beh}}}|Mid|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LB|}}}|{{{LB}}}|  }}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| 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}}} }}
| width="120" | {{#ifeq: {{{RW-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RW-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RW-Beh}}}|Mid|[[Image:behaviour_right.png|16px]]}}{{#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: {{{RIM-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RIM-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RIM-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#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: {{{IM-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{IM-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#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}}}|  }}
| style="border-top:4px solid #fff;" width="120" | {{#ifeq: {{{LIM-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LIM-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LIM-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#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}}}|  }}
| width="120" | {{#ifeq: {{{LW-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LW-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{LW-Beh}}}|Mid|[[Image:behaviour_left.png|16px]]}}{{#if: {{{LW|}}}|{{{LW}}}|  }}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| 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: {{{RFW-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|  }}


| width="120" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_up.png]]}}{{#if: {{{FW|}}}|{{{FW}}}|  }}
| width="120" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#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" | {{#ifeq: {{{LFW-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{LFW-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{LFW|}}}|{{{LFW}}}|  }}


| width="120" |
| width="120" |

Revision as of 19:44, 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