Template:Infobox Player/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lleida (talk | contribs)
m Undo revision 177057 by Lleida (Talk)
Lleida (talk | contribs)
mNo edit summary
Line 7: Line 7:
|                  fullname =
|                  fullname =
|                  nickname =
|                  nickname =
|                birthyear =
|                birthmonth =
|                  birthday =
|                  country =
|                  country =
|                  position =
|                  position =
Line 25: Line 28:
|                  matchesx =  
|                  matchesx =  
|                    goalsx =  
|                    goalsx =  
|                 
|              totalmatches =
|                totalgoals =
|
|
|                matchesu20 =
|                matchesu20 =
Line 46: Line 46:
;fullname: Full, long name of the player.
;fullname: Full, long name of the player.
;nickname: Nickname of the player.
;nickname: Nickname of the player.
;birthyear, birthmonth, birthday: Use this to put player "hattrick" age. It is recommended to use [[Template:Age]] because you have to know player date of birth. This template automatically updates player "hattrick" age
;country: The country of the player.
;country: The country of the player.
;position: The position where the player is most lined up.
;position: The position where the player is most lined up.
Line 51: Line 52:
;youthteam: Name of the youth team where the player was promoted.
;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...).
;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...).
;totalmatches, totalgoals: when added all the teams, you can add up to all matches and goals.
; matchesu20, goalsu20, matchesnational, goalsnational: same statistics for U-20 and National Team
; matchesu20, goalsu20, matchesnational, goalsnational: same statistics for U-20 and National Team
;seasonscoachx, countryteamcoachx, teamcoachx: can be used like "Senior Carreer" if player has become a coach.
;seasonscoachx, countryteamcoachx, teamcoachx: can be used like "Senior Carreer" if player has become a coach.

Revision as of 11:39, 4 November 2010

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 use Template:Age because you have to know player date of birth. This template automatically updates player "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 Carreer" if player has become a coach.