Template:Lineup 3: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
| || || bgcolor=#e0e0e0 style="border: 4px solid #c0c0c0; border-bottom:0" height="25" width="100" | || || | | || || bgcolor=#e0e0e0 style="border: 4px solid #c0c0c0; border-bottom:0" height="25" width="100" | || || | ||
|- align="center" bgcolor="# | |- align="center" bgcolor="#5cc05c" style="height:35px" | ||
| || style="border-left:4px solid #fff" | || style="border: 4px solid #fff; border-top:0; vertical-align:top;" width="100" | {{#if: {{{GK|}}}|{{{GK}}}| }} {{#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; vertical-align:top;" width="100" | {{#if: {{{GK|}}}|{{{GK}}}| }} {{#if:{{{GK-Star|}}}|<br/>{{{GK-Star}}}}} || style="border-right:4px solid #fff" | || | ||
|- align="center" bgcolor="# | |- align="center" bgcolor="#5cc05c" style="height:35px" | ||
| width="100" style="vertical-align:top" | {{#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}}}| }} {{#if:{{{RB-Star|}}}|<br/>{{{RB-Star}}}}} | | width="100" style="vertical-align:top" | {{#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}}}| }} {{#if:{{{RB-Star|}}}|<br/>{{{RB-Star}}}}} | ||
| Line 17: | Line 17: | ||
| width="100" style="vertical-align:top;" | {{#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}}}| }} {{#if:{{{LB-Star|}}}|<br/>{{{LB-Star}}}}} | | width="100" style="vertical-align:top;" | {{#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}}}| }} {{#if:{{{LB-Star|}}}|<br/>{{{LB-Star}}}}} | ||
|- align="center" bgcolor="# | |- align="center" bgcolor="#5cc05c" style="height:35px" | ||
| width="100" style="border-top:4px solid transparent; vertical-align:top;" | {{#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}}}}} | | width="100" style="border-top:4px solid transparent; vertical-align:top;" | {{#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}}}}} | ||
| Line 28: | Line 28: | ||
| width="100" style="border-top:3px solid transparent; vertical-align:top;" | <span style="display:block; height:1px"></span> {{#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}}}| }} {{#if:{{{LW-Star|}}}|<br/>{{{LW-Star}}}}} | | width="100" style="border-top:3px solid transparent; vertical-align:top;" | <span style="display:block; height:1px"></span> {{#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}}}| }} {{#if:{{{LW-Star|}}}|<br/>{{{LW-Star}}}}} | ||
|- align="center" bgcolor="# | |- align="center" bgcolor="#5cc05c" style="height:35px" | ||
| width="100" | | | width="100" | | ||
Revision as of 19:41, 14 July 2014
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
Image are only displayed if variable is set
Use "*-Star" for rating player according to his position,
and set value to ratings templates
Ratings are only displayed if variable is set