Template:Infobox Player/doc

From Hattrick
Jump to navigationJump to search

Usage

{{Infobox Player
|                playername =
|                  playerid =
|                     image = <!--Just the name of the file, nothing else!-->
|                  fullname =
|                  nickname =
|                 birthyear = 
|                birthmonth = 
|                  birthday =
|                   country =
|                  position =
|               currentteam =
|
|          countryyouthteam =
|                 youthteam =
|
|                  seasons1 = 
|              countryteam1 = 
|                     team1 = 
|                  matches1 = 
|                    goals1 = 
|
|                  seasonsx = <!--If you want to add more teams, then this will be "seasons2", "countryteam2" and so on-->
|              countryteamx = 
|                     teamx = 
|                  matchesx = 
|                    goalsx = 
|
|                matchesu20 =
|                  goalsu20 =
|           matchesnational =
|             goalsnational =
|
|             seasonscoach1 = <!--If you want to add more teams, then this will be "seasonscoach2" and so on-->
|         countryteamcoach1 = 
|                teamcoach1 =
}}

Parameters

Almost all of the parameters are optional and will show in the template only when given a non-empty value.

playername
The name of the player.
playerid
The id number of the player in Hattrick.
image
Address to the image. It only works with images uploaded to htwiki. Use the name of the file, nothing else.
fullname
Full, long name of the player.
nickname
Nickname of the player.
birthyear, birthmonth, birthday
Use this to put player "hattrick" age. It is recommended to test first Template:Age because you have to know player's date of birth. This template automatically updates player to "hattrick" age.
country
The country of the player.
position
The position where the player is most lined up.
currentteam
Team of the player.
youthteam
Name of the youth team where the player was promoted.
seasonsx, countryteamx, teamx, matchesx, goalsx
Information about the player in every team he has played. For every team end this group of parameters with the same number (1,2,3...).
matchesu20, goalsu20, matchesnational, goalsnational
same statistics for U-20 and National Team
seasonscoachx, countryteamcoachx, teamcoachx
can be used like "Senior Career" if player has become a coach.

Example

Ed Cant (2931777)
Personal Information
Full name Edward Cant
Nickname Cant
Age97 years and 77 days
Country  Canada
PositionCoach, former forward
Current team Colombia Once Toques
Youth Career
Youth teamCanada Edmonton Vikings
Senior Career
Seasons (Global)TeamAppearances(Goals)
3 (15) - 6 (18)Canada Edmonton Vikings51(30)
7 (19) - 13 (25)Canada Barrington Barons96(124)
13 (25) - 15 (27)Spain Dark Moor33(23)
14 (27) - 16 (29)Belgium squadra goaletta31(19)
17 (29) - 20 (32)Peru Sport Alianza35(6)
21 (33) - 24 (36)Colombia Once Toques41(42)
Total287(244)
National Team
Canada U20 Canada13
National Team
 Canada10
Teams Managed
24 (36) - 31 (43)Colombia Once Toques

Appearances and goals counted for competitive matches only.

Infobox Player of Ed Cant.