Template:Line-up 3-5-2: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
team_captain and set_pieces not displayed when missing |
||
| Line 1: | Line 1: | ||
<div style="position:relative; float:left; | <div style="position:relative; float:left; height:450px; width:590px;">[[File:Field.jpg|link=|{{{width|590px}}}]]<!-- | ||
=== Goalkeeper === | === Goalkeeper === | ||
| Line 189: | Line 189: | ||
=== Team Captain === | === Team Captain === | ||
--><div style="position:absolute; left:21px; top:353px;"> | -->{{#if:{{{team_captain_name|}}}|<div style="position:absolute; left:21px; top:353px;"> | ||
<table width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;"> | |||
<tr style="color:#B3CC93;"><td align="center">Team Captain</td></tr> | |||
<tr style="color:#fff; background-color:#2E6B0E;"><td colspan="3">[[File:{{{team_captain_image|Unknown Player 2 small.png}}}{{!}}26px]]</td></tr> | |||
<tr style="background-color:#fff;"><td colspan="3" align="center">{{{team_captain_name}}}</td></tr> | |||
</table> | |||
</div>| }}<!-- | |||
=== Set pieces === | === Set pieces === | ||
--><div style="position:absolute; left:139px; top:353px;"> | -->{{#if:{{{set_pieces_name|}}}|<div style="position:absolute; left:139px; top:353px;"> | ||
<table width="76px" border="0" cellpadding="0" cellspacing="0" style="background:transparent; font-size:11px;"> | |||
<tr style="color:#B3CC93;"><td align="center">Set pieces</td></tr> | |||
<tr style="color:#fff; background-color:#2E6B0E;"><td colspan="3">[[File:{{{set_pieces_image|Unknown Player 2 small.png}}}{{!}}26px]]</td></tr> | |||
<tr style="background-color:#fff;"><td colspan="3" align="center">{{{set_pieces_name}}}</td></tr> | |||
</table> | |||
</div>| }}</div><noinclude>{{documentation}} | |||
==Example== | |||
{| class=toccolours | |||
| {{Line-up 3-5-2 | |||
| width=600px | |||
| right_wingback_io = defensive | |||
| right_winger_io = towards middle | |||
| center_midfielder_io = offensive | |||
| left_wingback_io = defensive | |||
| left_winger_io = towards middle | |||
| team_captain_name = left_wingback | |||
| team_captain_image = Bijker.jpg | |||
| set_pieces_name = right_wingback | |||
| set_pieces_image = Bodyless.jpg | |||
}}<br> A typical 3-5-2 AIM | |||
|} | |} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 14:36, 26 August 2020
[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!-->
}}
Example
![]() A typical 3-5-2 AIM |