Template:Line-Up 2: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lirion (talk | contribs)
No edit summary
Lirion (talk | contribs)
No edit summary
Line 7: Line 7:


<noinclude>
<noinclude>
{{#ifeq: {{{1}}} | 4-4-2 |
{{{!}} border="0" cellpadding="2" cellspacng="0" style="border-collapse:collapse;text-align:center;border:1px solid #aaa;"
{{!}}- style="background-color:#cdb;"
!colspan="4" style="padding:4px 1em;"{{!}} Line-Up <span style="float:right;">''(4-4-2)''</span>
{{!}}- style="height:3.5em;"
{{!}} {{!!}}colspan="2"{{!}} {{flagicon|{{{gknat|}}}}} {{{gkno|??}}} {{{gk|???}}} {{!!}}
{{!}}- 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
{{!}}- 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
{{!}}- style="height:3.5em;"
{{!}} {{!!}} {{flagicon}} 9 Right Forward {{!!}} {{flagicon}} 11 Left Forward
{{!}}-
{{!}}colspan="4"{{!}}<hr/>
{{!}}-
{{!}}colspan="4" align="left"{{!}}
  {{{!}} cellspacing="0" cellpadding="6"
  {{!}}-style="height:3em;text-align:left;"
  {{!}}'''''Bench:''''' {{!!}} ''GK'' {{flagicon}} 12 Goal Keeper {{!!}} ''DF'' {{flagicon}} 13 Dee Fender
  {{!}}-
  {{!}} {{!!}} ''MF'' {{flagicon}} 14 Mid L. Fielder {{!!}} ''FW'' 15 {{flagicon}} Forward Scorer
  {{!}}}
{{!}}-
{{!}}}
| }}
<noinclude>
== Usage ==
'''<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.
Then add your players:<br/>
'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>|system|gk=Packie Bonner|gknat=IRL|gkno=1|...}}</nowiki>'''<br/>
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 ====
{| border="0" cellspacing="2" cellpadding="2"
| ''none'' || Player name - leave blank if "unknown" (haha... but yes, you can leave it blank)
|-
| ''nat'' || Player nationality, [[:Template:Flag|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.
{| border="0" cellspacing="2" cellpadding="2" style="border:1px solid #aaa;"
| '''gk''' || Goalkeeper
|-
|colspan="2"|<hr/>
|-
| '''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)
|-
|colspan="2"|<hr/>
|-
| '''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)
|-
|colspan="2"|<hr/>
|-
| '''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)
|-
|colspan="2"|<hr/>
|-
| '''sgk''' || Substitute Goalkeeper
|-
| '''sb''' || Substitute Defender ''(substitute "back")''
|-
| '''sm''' || Substitude Midfielder or Marquis de Sade
|-
| '''sf''' || Substitutde Forward
|}
== Example ==
{| 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;"
|- style="background-color:#cdb;"
|- style="background-color:#cdb;"
Line 30: Line 135:
|-
|-
|}
|}
</noinclude>
</noinclude>

Revision as of 00:49, 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