Template:Lineup: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
|- align="center" bgcolor="#3F7137" style="height:40px" | |- align="center" bgcolor="#3F7137" style="height:40px" | ||
| width="120" 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="120" 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}}}}} | ||
| style="border-top:4px solid #fff; vertical-align:top;position:relative;" width="120" |<span style="width: 100px;height: 100px;display: inline-block;border-radius: 100px;border: 4px solid #fff;border-top-color: transparent;border-left-color: transparent;position: absolute;top: -92px;left: 125px;border-right-color: transparent;"></span> {{#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}}}| }} {{#if:{{{RIM-Star|}}}|<br/>{{{RIM-Star}}}}} | | style="border-top:4px solid #fff; vertical-align:top;position:relative;" width="120" |<span style="width: 100px;height: 100px;display: inline-block;border-radius: 100px;border: 4px solid #fff;border-top-color: transparent;border-left-color: transparent;position: absolute;top: -92px;left: 125px;border-right-color: transparent;"></span> {{#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}}}| }} {{#if:{{{RIM-Star|}}}|<br/>{{{RIM-Star}}}}} | ||
Revision as of 15:34, 27 January 2016
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