Template:Line-Up 2: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lirion (talk | contribs)
No edit summary
Lirion (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{#ifeq: {{{1}}} | 4-4-2 |
{{{!}} border="1" cellpadding="2" cellspacng="0" style="border-color:white;border-collapse:collapse;text-align:center;"
{{!}}- style="background-color:#cdb;"
!!colspan="4"{{!}} Line-Up
{{!}}}
| }}
<noinclude>
{{#ifeq: {{{1}}} | 4-4-2 |
{{#ifeq: {{{1}}} | 4-4-2 |
{{{!}} border="0" cellpadding="2" cellspacng="0" style="border-collapse:collapse;text-align:center;border:1px solid #aaa;"
{{{!}} border="0" cellpadding="2" cellspacng="0" style="border-collapse:collapse;text-align:center;border:1px solid #aaa;"
Line 14: Line 6:
{{!}} {{!!}}colspan="2"{{!}} {{flagicon|{{{gknat|}}}}} {{{gkno|??}}} {{{gk|???}}} {{!!}}
{{!}} {{!!}}colspan="2"{{!}} {{flagicon|{{{gknat|}}}}} {{{gkno|??}}} {{{gk|???}}} {{!!}}
{{!}}- style="height:3.5em;"
{{!}}- style="height:3.5em;"
{{!}}width="25%"{{!}} {{flagicon}} 5 Right Back {{!!}}width="25%"{{!}} {{flagicon}} 2 Right Central Back {{!!}}width="25%"{{!}} {{flagicon}} 3 Left Central Back {{!!}}width="25%"{{!}} {{flagicon}} 4 Left Back
{{!}}width="25%"{{!}} {{flagicon|{{{rcbnat|}}}}} {{{rcbno|??}}} {{{rcb|???}}} {{!!}}width="25%"{{!}} {{flagicon}} 2 Right Central Back {{!!}}width="25%"{{!}} {{flagicon}} 3 Left Central Back {{!!}}width="25%"{{!}} {{flagicon}} 4 Left Back
{{!}}- style="height:3.5em;"
{{!}}- style="height:3.5em;"
{{!}} {{flagicon}} 8 Right Midfield {{!!}} {{flagicon}} 10 Right Central Midfield [[File:Captain_sports.png]]{{!!}} {{flagicon}} 6 Left Central Midfield {{!!}} {{flagicon}} 7 Left Back
{{!}} {{flagicon}} 8 Right Midfield {{!!}} {{flagicon}} 10 Right Central Midfield [[File:Captain_sports.png]]{{!!}} {{flagicon}} 6 Left Central Midfield {{!!}} {{flagicon}} 7 Left Back
Line 35: Line 27:
<noinclude>
<noinclude>
== Usage ==
== Usage ==
'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|system}}</nowiki>'''<br/>
'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|system}}</nowiki>'''<br/>
where ''system'' is one out of 4-4-2, 3-5-2, and so on. If this gives no result, your formation has not yet been implemented. Then ask or do it yourself.
where ''system'' is one out of 4-4-2, 3-5-2, and so on. If this gives no result, your formation has not yet been implemented. Then ask or do it yourself.

Revision as of 00:54, 22 July 2010


Usage

{{Line-Up 2|system}}
where system is one out of 4-4-2, 3-5-2, and so on. If this gives no result, your formation has not yet been implemented. Then ask or do it yourself.

Then add your players:
{{Line-Up 2|system|gk=Packie Bonner|gknat=IRL|gkno=1|...}}
Variables follow below. Their order is not important, it's up to you if you see through your order.

Variables

Variables always are "position" only, "position + nat" or "position + no". Thus, you only have to know the abbreviations, which follow now:

Suffixes

none Player name - leave blank if "unknown" (haha... but yes, you can leave it blank)
nat Player nationality, three letter abbreviation - leave blank if "unknown" (same as above)
no the kit number of the player - leave blank if unknown/unset

Positions

Priority from wing to center. That means: You'll always have a left back and a right back. With 3 defenders, the sweeper is the "central back"; with 4 defenders you'll add a left and right central back; and with 5 defenders you'll have a left and right back, a left and right central back, and a central back.

gk Goalkeeper

lb Left Back (applies in all systems)
lcb Left Central Back (4 and 5 defenders)
cb Central Back (3 and 5 defenders, the "sweeper")
rcb Right Central Back (4 and 5 defenders)
rb Right Back (applies in all systems)

lm Left Midfield (applies in all systems)
lcm Left Central Midfield (4 and 5 midfielders)
cm Central Midfield (3 and 5 midfielders)
rcb Right Central Midfield (4 and 5 midfielders)
rm Right Midfield (applies in all systems)

lf Left Forward (applies in all systems with more than one forward)
lcf Left Central Forward (4 and 5 forwards)
cf Central Forward (3 and 5 forwards)
rcf Right Central Forward (4 and 5 forwards)
rf Right Forward (applies in all systems with more than one forward)

sgk Substitute Goalkeeper
sb Substitute Defender (substitute "back")
sm Substitude Midfielder or Marquis de Sade
sf Substitutde Forward

Example

Line-Up (4-4-2)
1 Goal "Goalie" Keeper
5 Right Back 2 Right Central Back 3 Left Central Back 4 Left Back
8 Right Midfield 10 Right Central Midfield 6 Left Central Midfield 7 Left Back
9 Right Forward 11 Left Forward

Bench: GK 12 Goal Keeper DF 13 Dee Fender
MF 14 Mid L. Fielder FW 15 Forward Scorer