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 9: Line 9:
| 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}}}}}
| 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; }} {{#if:{{{RCD-Star|}}}|<br/>{{{RCD-Star}}}}}


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


| 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}}}|&nbsp; }}
| 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}}}|&nbsp; }} {{#if:{{{LCD-Star|}}}|<br/>{{{LCD-Star}}}}}


| 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}}}|&nbsp; }}
| 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}}}|&nbsp; }} {{#if:{{{LB-Star|}}}|<br/>{{{LB-Star}}}}}


|- align="center" bgcolor="#3F7137" style="height:35px"
|- align="center" bgcolor="#3F7137" style="height:35px"
| 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}}} }}
| 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}}} }} {{#if:{{{RW-Star|}}}|<br/>{{{RW-Star}}}}}


| 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}}}|&nbsp; }}
| 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}}}|&nbsp; }} {{#if:{{{RIM-Star|}}}|<br/>{{{RIM-Star}}}}}


| 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}}}|&nbsp; }}
| 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}}}|&nbsp; }} {{#if:{{{IM-Star|}}}|<br/>{{{IM-Star}}}}}


| 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}}}|&nbsp; }}
| 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}}}|&nbsp; }} {{#if:{{{LIM-Star|}}}|<br/>{{{LIM-Star}}}}}


| 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}}}|&nbsp; }}
| 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}}}|&nbsp; }} {{#if:{{{LW-Star|}}}|<br/>{{{LW-Star}}}}}


|- 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|16px]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|&nbsp; }}
| width="120" | {{#ifeq: {{{RFW-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_left.png|16px]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|&nbsp; }} {{#if:{{{RFW-Star|}}}|<br/>{{{RFW-Star}}}}}


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


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


| width="120" |
| width="120" |
Line 61: Line 61:
| LB-Beh = Off
| LB-Beh = Off
| LFW-Beh = Win
| LFW-Beh = Win
| GK-Start = number stars for goal keeper
| RIM = number stars for right inner midfield
}}
}}
Use "*-Beh" for player behaviour according to his position,  
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
and set value to "Def" for Defensive, "Off" for Offensive, "Mid" for towards middle and "Win" for towards wings
User "*-Star" for rating player according to his position,
and set value to ratings templates
</pre>
</pre>
</noinclude>
</noinclude>

Revision as of 21:39, 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
| GK-Start = number stars for goal keeper
| RIM = number stars for right inner midfield
}}
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
User "*-Star" for rating player according to his position,
and set value to ratings templates