Template:Lineup inv: Difference between revisions

From Hattrick
Jump to navigationJump to search
Teles (talk | contribs)
Created page with '{| style="border-collapse:collapse; color:#fff" border="0" width="600px" |- align="center" bgcolor="#3F7137" style="height:35px" | width="120" | || width="120" style="padding-to…'
 
Teles (talk | contribs)
No edit summary
Line 2: Line 2:


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| width="120" | || width="120" style="padding-top:{{#ifeq: {{{LFW-Beh}}}|Def|25px|0}};padding-right:{{#ifeq: {{{LFW-Beh}}}|Win|25px|0}};" | {{#if: {{{LFW|}}}|{{{LFW}}}|  }} || width="120" style="padding-top:{{#ifeq: {{{FW-Beh}}}|Def|25px|0}};" | {{#if: {{{FW|}}}|{{{FW}}}|  }} || width="120" style="padding-top:{{#ifeq: {{{RFW-Beh}}}|Def|25px|0}};padding-left:{{#ifeq: {{{RFW-Beh}}}|Win|25px|0}};" | {{#if: {{{RFW|}}}|{{{RFW}}}|  }} || 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: {{{FW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#if: {{{FW|}}}|{{{FW}}}|  }}
 
| width="120" | {{#ifeq: {{{RFW-Beh}}}|Def|[[Image:behaviour_down.png|16px]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|  }}
 
| width="120" |


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| width="120" style="padding-top:{{#ifeq: {{{LW-Beh}}}|Def|25px|0}};padding-bottom:{{#ifeq: {{{LW-Beh}}}|Off|25px|0}};padding-left:{{#ifeq: {{{LW-Beh}}}|Mid|25px|0}};" | {{#if: {{{LW|}}}|{{{LW}}} }} || style="border-bottom:4px solid #fff;padding-bottom:{{#ifeq: {{{LIM-Beh}}}|Off|25px|0}};padding-top:{{#ifeq: {{{LIM-Beh}}}|Def|25px|0}};padding-right:{{#ifeq: {{{LIM-Beh}}}|Win|25px|0}};" width="120" | {{#if: {{{LIM|}}}|{{{LIM}}}|  }} || style="border-bottom:4px solid #fff;padding-bottom:{{#ifeq: {{{IM-Beh}}}|Off|25px|0}};padding-top:{{#ifeq: {{{IM-Beh}}}|Def|25px|0}};" width="120" | {{#if: {{{IM|}}}|{{{IM}}}|  }} || style="border-bottom:4px solid #fff" width="120;padding-bottom:{{#ifeq: {{{RIM-Beh}}}|Off|25px|0}};padding-top:{{#ifeq: {{{RIM-Beh}}}|Def|25px|0}};padding-left:{{#ifeq: {{{RIM-Beh}}}|Win|25px|0}};" | {{#if: {{{RIM|}}}|{{{RIM}}}|  }} || width="120" style="padding-top:{{#ifeq: {{{RW-Beh}}}|Def|25px|0}};padding-bottom:{{#ifeq: {{{RW-Beh}}}|Off|25px|0}};padding-right:{{#ifeq: {{{RW-Beh}}}|Mid|25px|0}};" | {{#if: {{{RW|}}}|{{{RW}}}|  }}
| 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}}} }}
 
| 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: {{{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: {{{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}}}|  }}
 
| 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}}}|  }}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| width="120" style="padding-top:{{#ifeq: {{{LB-Beh}}}|Def|25px|0}};padding-bottom:{{#ifeq: {{{LB-Beh}}}|Off|25px|0}};padding-left:{{#ifeq: {{{LB-Beh}}}|Mid|25px|0}};" | {{#if: {{{LB|}}}|{{{LB}}}|  }} || style="border-left:4px solid #fff;padding-bottom:{{#ifeq: {{{LCD-Beh}}}|Off|25px|0}};padding-right:{{#ifeq: {{{LCD-Beh}}}|Win|25px|0}};" width="120" | {{#if: {{{LCD|}}}|{{{LCD}}}|  }} || width="120" style="padding-bottom:{{#ifeq: {{{CD-Beh}}}|Off|25px|0}}; | {{#if: {{{CD|}}}|{{{CD}}}|  }} || style="border-right:4px solid #fff;padding-bottom:{{#ifeq: {{{RCD-Beh}}}|Off|25px|0}};padding-left:{{#ifeq: {{{RCD-Beh}}}|Win|25px|0}};" width="120" | {{#if: {{{RCD|}}}|{{{RCD}}}|  }} || width="120" style="padding-top:{{#ifeq: {{{RB-Beh}}}|Def|25px|0}};padding-bottom:{{#ifeq: {{{RB-Beh}}}|Off|25px|0}};padding-right:{{#ifeq: {{{RB-Beh}}}|Mid|25px|0}};" | {{#if: {{{RB|}}}|{{{RB}}}|  }}
| 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}}}|  }}
 
| 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}}}|  }}
 
| width="120" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_up.png|16px]]}}{{#if: {{{CD|}}}|{{{CD}}}|  }}
 
| 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}}}|  }}
 
| 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}}}|  }}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"

Revision as of 20:19, 14 November 2011

     
       
         
 


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