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


|- 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-top:0" width="120" | {{#if: {{{GK|}}}|{{{GK}}}|&nbsp; }} {{#if: {{{GK-Star|}}}|<br/>{{{GK-Star}}} }} || style="border-right:4px solid #fff" | ||   
| || style="border-left:4px solid #fff" | || style="border: 4px solid #fff; border-top:0" width="120" | {{#if: {{{GK|}}}|{{{GK}}}|&nbsp; }} {{#if:{{{GK-Star|}}}|<br/>{{{GK-Star}}}}} || style="border-right:4px solid #fff" | ||   


|- 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|16px]]}}{{#ifeq: {{{RB-Beh}}}|Mid|[[Image:behaviour_right.png|16px]]}}{{#if: {{{RB|}}}|{{{RB}}}|&nbsp; }}
| 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}}}|&nbsp; }} {{#if:{{{RB-Star|}}}|<br/>{{{RB-Star}}}}}


| 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}}}|&nbsp; }}
| 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}}}|&nbsp; }}

Revision as of 21:35, 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