Difference between revisions of "Template:Lineup Lightgreen"

From Hattrick
(Created page with "{| style="border-collapse:collapse; color:#fff; " border="0" width="600px" |- bgcolor=#fff align="center" | || || bgcolor=#e0e0e0 style="border: 4px solid #c0c0c0; border-bott...")
 
m
 
Line 1: Line 1:
 
{| style="border-collapse:collapse; color:#fff; " border="0" width="600px"
 
{| style="border-collapse:collapse; color:#fff; " border="0" width="600px"
 
|- bgcolor=#fff align="center"
 
|- bgcolor=#fff align="center"
| || || bgcolor=#e0e0e0 style="border: 4px solid #c0c0c0; border-bottom:0" height="25" width="120" | || ||  
+
| || || bgcolor=#e0e0e0 style="border: 4px solid #c0c0c0; border-bottom:0" height="25" width="160" | || ||  
  
 
|- align="center" bgcolor="#7fce7f" style="height:40px"
 
|- align="center" bgcolor="#7fce7f" style="height:40px"
| || style="border-left:4px solid #fff" | || style="border: 4px solid #fff; border-top:0; vertical-align:top;" 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; vertical-align:top;" width="160" | {{#if: {{{GK|}}}|{{{GK}}}|&nbsp; }} {{#if:{{{GK-Star|}}}|<br/>{{{GK-Star}}}}} || style="border-right:4px solid #fff" | ||   
  
 
|- align="center" bgcolor="#7fce7f" style="height:40px"
 
|- align="center" bgcolor="#7fce7f" style="height:40px"
| width="120" 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}}}|&nbsp; }} {{#if:{{{RB-Star|}}}|<br/>{{{RB-Star}}}}}
+
| width="160" style="vertical-align:top" | {{#ifeq: {{{RB-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{RB-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{RB-Beh}}}|Mid|[[Image:behaviour_right.png|24px]]}}{{#if: {{{RB|}}}|{{{RB}}}|&nbsp; }} {{#if:{{{RB-Star|}}}|<br/>{{{RB-Star}}}}}
  
| style="border-left:4px solid #fff; vertical-align:top;" 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}}}}}
+
| style="border-left:4px solid #fff; vertical-align:top;" width="160" | {{#ifeq: {{{RCD-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{RCD-Beh}}}|Win|[[Image:behaviour_left.png|24px]]}}{{#if: {{{RCD|}}}|{{{RCD}}}|&nbsp; }} {{#if:{{{RCD-Star|}}}|<br/>{{{RCD-Star}}}}}
  
| width="120" style="vertical-align:top;" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_down.png|16px]]}}{{#if: {{{CD|}}}|{{{CD}}}|&nbsp; }} {{#if:{{{CD-Star|}}}|<br/>{{{CD-Star}}}}}
+
| width="160" style="vertical-align:top;" | {{#ifeq: {{{CD-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#if: {{{CD|}}}|{{{CD}}}|&nbsp; }} {{#if:{{{CD-Star|}}}|<br/>{{{CD-Star}}}}}
  
| style="border-right:4px solid #fff; vertical-align:top;" 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}}}}}
+
| style="border-right:4px solid #fff; vertical-align:top;" width="160" | {{#ifeq: {{{LCD-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{LCD-Beh}}}|Win|[[Image:behaviour_right.png|24px]]}}{{#if: {{{LCD|}}}|{{{LCD}}}|&nbsp; }} {{#if:{{{LCD-Star|}}}|<br/>{{{LCD-Star}}}}}
  
| width="120" 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}}}|&nbsp; }} {{#if:{{{LB-Star|}}}|<br/>{{{LB-Star}}}}}
+
| width="160" style="vertical-align:top;" | {{#ifeq: {{{LB-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{LB-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{LB-Beh}}}|Mid|[[Image:behaviour_left.png|24px]]}}{{#if: {{{LB|}}}|{{{LB}}}|&nbsp; }} {{#if:{{{LB-Star|}}}|<br/>{{{LB-Star}}}}}
  
 
|- align="center" bgcolor="#7fce7f" style="height:40px"
 
|- align="center" bgcolor="#7fce7f" 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}}}|&nbsp; }} {{#if:{{{RW-Star|}}}|<br/>{{{RW-Star}}}}}
+
| width="160" style="border-top:4px solid transparent; vertical-align:top;" | {{#ifeq: {{{RW-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{RW-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{RW-Beh}}}|Mid|[[Image:behaviour_right.png|24px]]}}{{#if: {{{RW|}}}|{{{RW}}}|&nbsp; }} {{#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}}}|&nbsp; }} {{#if:{{{RIM-Star|}}}|<br/>{{{RIM-Star}}}}}
+
| style="border-top:4px solid #fff; vertical-align:top;position:relative;" width="160" |<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|24px]]}}{{#ifeq: {{{RIM-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{RIM-Beh}}}|Win|[[Image:behaviour_left.png|24px]]}}{{#if: {{{RIM|}}}|{{{RIM}}}|&nbsp; }} {{#if:{{{RIM-Star|}}}|<br/>{{{RIM-Star}}}}}
  
| style="border-top:4px solid #fff; vertical-align:top; position:relative" 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; vertical-align:top; position:relative" width="160" | {{#ifeq: {{{IM-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{IM-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#if: {{{IM|}}}|{{{IM}}}|&nbsp; }} {{#if:{{{IM-Star|}}}|<br/>{{{IM-Star}}}}}
  
| style="border-top:4px solid #fff; vertical-align:top;" 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}}}}}
+
| style="border-top:4px solid #fff; vertical-align:top;" width="160" | {{#ifeq: {{{LIM-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{LIM-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{LIM-Beh}}}|Win|[[Image:behaviour_right.png|24px]]}}{{#if: {{{LIM|}}}|{{{LIM}}}|&nbsp; }} {{#if:{{{LIM-Star|}}}|<br/>{{{LIM-Star}}}}}
  
| width="120" 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}}}|&nbsp; }} {{#if:{{{LW-Star|}}}|<br/>{{{LW-Star}}}}}
+
| width="160" style="border-top:3px solid transparent; vertical-align:top;" | <span style="display:block; height:1px"></span> {{#ifeq: {{{LW-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{LW-Beh}}}|Off|[[Image:behaviour_down.png|24px]]}}{{#ifeq: {{{LW-Beh}}}|Mid|[[Image:behaviour_left.png|24px]]}}{{#if: {{{LW|}}}|{{{LW}}}|&nbsp; }} {{#if:{{{LW-Star|}}}|<br/>{{{LW-Star}}}}}
  
 
|- align="center" bgcolor="#7fce7f" style="height:40px"
 
|- align="center" bgcolor="#7fce7f" style="height:40px"
| width="120" |
+
| width="160" |
  
| width="120" style="vertical-align:top;position: relative;" |<span style="width: 80px;height: 80px;display: inline-block;border-radius: 80px;border: 4px solid #fff;border-bottom-color: transparent;border-left-color: transparent;transform: rotate(-45deg);position: absolute;bottom:-44px;left: 135px;"></span> {{#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="160" style="vertical-align:top;position: relative;" |<span style="width: 80px;height: 80px;display: inline-block;border-radius: 80px;border: 4px solid #fff;border-bottom-color: transparent;border-left-color: transparent;transform: rotate(-45deg);position: absolute;bottom:-44px;left: 135px;"></span> {{#ifeq: {{{RFW-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{RFW-Beh}}}|Win|[[Image:behaviour_left.png|24px]]}}{{#if: {{{RFW|}}}|{{{RFW}}}|&nbsp; }} {{#if:{{{RFW-Star|}}}|<br/>{{{RFW-Star}}}}}
  
| width="120" style="vertical-align:top;position:relative;" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_up.png|16px]]}}{{#if: {{{FW|}}}|{{{FW}}}|&nbsp; }} {{#if:{{{FW-Star|}}}|<br/>{{{FW-Star}}}}}
+
| width="160" style="vertical-align:top;position:relative;" | {{#ifeq: {{{FW-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#if: {{{FW|}}}|{{{FW}}}|&nbsp; }} {{#if:{{{FW-Star|}}}|<br/>{{{FW-Star}}}}}
  
| width="120" style="vertical-align:top;" | {{#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="160" style="vertical-align:top;" | {{#ifeq: {{{LFW-Beh}}}|Def|[[Image:behaviour_up.png|24px]]}}{{#ifeq: {{{LFW-Beh}}}|Win|[[Image:behaviour_right.png|24px]]}}{{#if: {{{LFW|}}}|{{{LFW}}}|&nbsp; }} {{#if:{{{LFW-Star|}}}|<br/>{{{LFW-Star}}}}}
  
| width="120" |
+
| width="160" |
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Latest revision as of 10:00, 9 August 2017

 
         
         
     


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