Template:Line-up 3-5-2: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| Line 89: | Line 89: | ||
</div><!-- | </div><!-- | ||
<div style="position: absolute; left: | === Left Winger === | ||
--><div style="position:absolute; {{#ifeq:{{{left_winger_io}}}|defensive|left:493px; top:134px;|{{#ifeq:{{{left_winger_io}}}|offensive|left:493px; top:154px;|{{#ifeq:{{{left_winger_io}}}|towards middle|left:483px; top:144px;|left: 493px; top: 144px;}}}}}}"> | |||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |[[File:{{#if:{{{left_winger_image|}}}|{{{left_winger_image|}}}|Unknown Player 2 small.png}}|26px]]|| '''LW'''|| align="right"|{{#ifeq:{{{left_winger_io}}}|defensive|[[File:Defensive.png]]|{{#ifeq:{{{left_winger_io}}}|offensive|[[File:Offensive.png]]|{{#ifeq:{{{left_winger_io}}}|towards middle|[[File:Towards left.png]]|[[File:Normal.png|link=]]}}}}}} | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|colspan="3" align="center"| | |colspan="3" align="center"|{{#if:{{{left_winger_name|}}}|{{{left_winger_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
<div style="position: absolute; left: | === Right Forward === | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | |||
--><div style="position:absolute; {{#ifeq:{{{right_forward_io}}}|defensive|left:198px; top:205px;|{{#ifeq:{{{right_forward_io}}}|towards wing|left:188px; top:215px;|left: 198px; top: 215px;}}}}"> | |||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | |||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |[[File:{{#if:{{{right_forward_image|}}}|{{{right_forward_image|}}}|Unknown Player 2 small.png}}|26px]]|| '''FW'''|| align="right"|{{#ifeq:{{{right_forward_io}}}|defensive|[[File:Defensive.png]]|{{#ifeq:{{{right_forward_io}}}|towards wing|[[File:Towards left.png]]|[[File:Normal.png|link=]]}}}} | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|colspan="3" align="center"| | |colspan="3" align="center"|{{#if:{{{right_forward_name|}}}|{{{right_forward_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
<div style="position: absolute; left: | === Left Forward === | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | |||
--><div style="position:absolute; {{#ifeq:{{{left_forward_io}}}|defensive|left:316px; top:205px;|{{#ifeq:{{{right_forward_io}}}|towards wing|left:326px; top:215px;|left: 316px; top: 215px;}}}}"> | |||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | |||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |[[File:{{#if:{{{left_forward_image|}}}|{{{left_forward_image|}}}|Unknown Player 2 small.png}}|26px]]|| '''FW'''|| align="right"|{{#ifeq:{{{left_forward_io}}}|defensive|[[File:Defensive.png]]|{{#ifeq:{{{left_forward_io}}}|towards wing|[[File:Towards right.png]]|[[File:Normal.png|link=]]}}}} | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|colspan="3" align="center"| | |colspan="3" align="center"|{{#if:{{{left_forward_name|}}}|{{{left_forward_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
=== Sub (Goalkeeper) === | |||
<div style="position: absolute; left: 21px; top: 275px"> | --><div style="position:absolute; left:21px; top:275px;"> | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | ||
|- style="color:#B3CC93;" | |- style="color:#B3CC93;" | ||
|align="center"|Sub (Keeper) | |colspan="3" align="center"|Sub (Keeper) | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |colspan="3"|[[File:{{#if:{{{sub_goalkeeper_image|}}}|{{{sub_goalkeeper_image|}}}|Unknown Player 2 small.png}}|26px]] | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|align="center"| | |colspan="3" align="center"|{{#if:{{{sub_goalkeeper_name|}}}|{{{sub_goalkeeper_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
=== Sub (Defender) === | |||
<div style="position: absolute; left: 139px; top: 275px"> | --><div style="position:absolute; left:139px; top:275px;"> | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | ||
|- style="color:#B3CC93;" | |- style="color:#B3CC93;" | ||
|align="center"|Sub (Defender) | |align="center"|Sub (Defender) | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |colspan="3"|[[File:{{#if:{{{sub_defender_image|}}}|{{{sub_defender_image|}}}|Unknown Player 2 small.png}}|26px]] | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|align="center"| | |colspan="3" align="center"|{{#if:{{{sub_defender_name|}}}|{{{sub_defender_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
=== Sub (Midfielder) === | |||
<div style="position: absolute; left: 257px; top: 275px"> | --><div style="position:absolute; left:257px; top:275px;"> | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | ||
|- style="color:#B3CC93;" | |- style="color:#B3CC93;" | ||
|align="center"|Sub (Midfielder) | |align="center"|Sub (Midfielder) | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |colspan="3"|[[File:{{#if:{{{sub_midfielder_image|}}}|{{{sub_midfielder_image|}}}|Unknown Player 2 small.png}}|26px]] | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|align="center"| | |colspan="3" align="center"|{{#if:{{{sub_midfielder_name|}}}|{{{sub_midfielder_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
=== Sub (Forward) === | |||
<div style="position: absolute; left: 375px; top: 275px"> | --><div style="position:absolute; left:375px; top:275px;"> | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | ||
|- style="color:#B3CC93;" | |- style="color:#B3CC93;" | ||
|align="center"|Sub (Forward) | |align="center"|Sub (Forward) | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |colspan="3"|[[File:{{#if:{{{sub_forward_image|}}}|{{{sub_forward_image|}}}|Unknown Player 2 small.png}}|26px]] | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|align="center"| | |colspan="3" align="center"|{{#if:{{{sub_forward_name|}}}|{{{sub_forward_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
=== Sub (Winger) === | |||
<div style="position: absolute; left: 493px; top: 275px"> | --><div style="position:absolute; left:493px; top:275px;"> | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | ||
|- style="color:#B3CC93;" | |- style="color:#B3CC93;" | ||
|align="center"|Sub (Winger) | |align="center"|Sub (Winger) | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |colspan="3"|[[File:{{#if:{{{sub_winger_image|}}}|{{{sub_winger_image|}}}|Unknown Player 2 small.png}}|26px]] | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|align="center"| | |colspan="3" align="center"|{{#if:{{{sub_winger_name|}}}|{{{sub_winger_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
=== Team Captain === | |||
<div style="position: absolute; left: 21px; top: 353px"> | --><div style="position:absolute; left:21px; top:353px;"> | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | ||
|- style="color:#B3CC93;" | |- style="color:#B3CC93;" | ||
|align="center"|Team Captain | |align="center"|Team Captain | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File: | |colspan="3"|[[File:{{#if:{{{team_captain_image|}}}|{{{team_captain_image|}}}|Unknown Player 2 small.png}}|26px]] | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|align="center"| | |colspan="3" align="center"|{{#if:{{{team_captain_name|}}}|{{{team_captain_name|}}}| }} | ||
|} | |} | ||
</div> | </div><!-- | ||
=== Set pieces === | |||
<div style="position: absolute; left: 139px; top: 353px"> | --><div style="position:absolute; left:139px; top:353px;"> | ||
{| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size: 11px;" | {| width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;" | ||
|- style="color:#B3CC93;" | |- style="color:#B3CC93;" | ||
|align="center"|Set pieces | |align="center"|Set pieces | ||
|- style="color:#fff; background-color:#2E6B0E;" | |- style="color:#fff; background-color:#2E6B0E;" | ||
|[[File:Unknown Player 2 small.png|26px]] | |colspan="3"|[[File:{{#if:{{{set_pieces_image|}}}|{{{set_pieces_image|}}}|Unknown Player 2 small.png}}|26px]] | ||
|- style="background-color:#fff;" | |- style="background-color:#fff;" | ||
|align="center"| | |colspan="3" align="center"|{{#if:{{{set_pieces_name|}}}|{{{set_pieces_name|}}}| }} | ||
|} | |} | ||
</div> | </div></div><noinclude> | ||
</div><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 21:34, 22 May 2012

[edit]
Template documentation
Usage
{{Line-up 3-5-2
| goalkeeper_name =
| goalkeeper_image = <!--Just the name of the file, nothing else!-->
|
| right_wingback_name =
| right_wingback_image = <!--Just the name of the file, nothing else!-->
| right_wingback_io = <!--3 options: defensive, offensive or towards middle (if empty, normal)!-->
|
| central_defender_name =
| central_defender_image = <!--Just the name of the file, nothing else!-->
| central_defender_io = <!--1 option: offensive (if empty, normal)!-->
|
| left_wingback_name =
| left_wingback_image = <!--Just the name of the file, nothing else!-->
| left_wingback_io = <!--3 options: defensive, offensive or towards middle (if empty, normal)!-->
|
| right_winger_name =
| right_winger_image = <!--Just the name of the file, nothing else!-->
| right_winger_io = <!--3 options: defensive, offensive or towards middle (if empty, normal)!-->
|
| right_midfielder_name =
| right_midfielder_image = <!--Just the name of the file, nothing else!-->
| right_midfielder_io = <!--3 options: defensive, offensive or towards wing (if empty, normal)!-->
|
| center_midfielder_name =
| center_midfielder_image = <!--Just the name of the file, nothing else!-->
|
| left_midfielder_name =
| left_midfielder_image = <!--Just the name of the file, nothing else!-->
| left_midfielder_io = <!--3 options: defensive, offensive or towards wing (if empty, normal)!-->
|
| left_winger_name =
| left_winger_image = <!--Just the name of the file, nothing else!-->
| left_winger_io = <!--3 options: defensive, offensive or towards middle (if empty, normal)!-->
|
| right_forward_name =
| right_forward_image = <!--Just the name of the file, nothing else!-->
| right_forward_io = <!--2 options: defensive or towards wing (if empty, normal)!-->
|
| left_forward_name =
| left_forward_image = <!--Just the name of the file, nothing else!-->
| left_forward_io = <!--2 options: defensive or towards wing (if empty, normal)!-->
|
| sub_goalkeeper_name =
| sub_goalkeeper_image = <!--Just the name of the file, nothing else!-->
|
| sub_defender_name =
| sub_defender_image = <!--Just the name of the file, nothing else!-->
|
| sub_midfielder_name =
| sub_midfielder_image = <!--Just the name of the file, nothing else!-->
|
| sub_forward_name =
| sub_forward_image = <!--Just the name of the file, nothing else!-->
|
| sub_winger_name =
| sub_winger_image = <!--Just the name of the file, nothing else!-->
|
| team_captain_name =
| team_captain_image = <!--Just the name of the file, nothing else!-->
|
| set_pieces_name =
| set_pieces_image = <!--Just the name of the file, nothing else!-->
}}