Template:Infobox Player/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
| Line 54: | Line 54: | ||
; 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. | ||
== Example == | |||
{{Infobox Player | |||
| playername = Ed Cant | |||
| playerid = 2931777 | |||
| image = Ed Cant (2931777).png | |||
| fullname = Edward Cant | |||
| nickname = Cant | |||
| country = Canada | |||
| position = [[Coach]], former [[forward]] | |||
| currentteam = {{Flagicon|COL}} [[Once Toques]] | |||
| | |||
| countryyouthteam = CAN | |||
| youthteam = Edmonton Vikings | |||
| | |||
| seasons1 = 3 (15) - 6 (18) | |||
| countryteam1 = CAN | |||
| team1 = Edmonton Vikings | |||
| matches1 = 51 | |||
| goals1 = 30 | |||
| | |||
| seasons2 = 7 (19) - 13 (25) | |||
| countryteam2 = CAN | |||
| team2 = Barrington Barons | |||
| matches2 = 96 | |||
| goals2 = 124 | |||
| | |||
| seasons3 = 13 (25) - 15 (27) | |||
| countryteam3 = ESP | |||
| team3 = Dark Moor | |||
| matches3 = 33 | |||
| goals3 = 23 | |||
| | |||
| seasons4 = 14 (27) - 16 (29) | |||
| countryteam4 = BEL | |||
| team4 = squadra goaletta | |||
| matches4 = 31 | |||
| goals4 = 19 | |||
| | |||
| seasons5 = 17 (29) - 20 (32) | |||
| countryteam5 = PER | |||
| team5 = Sport Alianza | |||
| matches5 = 35 | |||
| goals5 = 6 | |||
| | |||
| seasons6 = 21 (33) - 24 (36) | |||
| countryteam6 = COL | |||
| team6 = Once Toques | |||
| matches6 = 41 | |||
| goals6 = 42 | |||
| | |||
| totalmatches = 287 | |||
| totalgoals = 244 | |||
| | |||
| matchesu20 = 13 | |||
| goalsu20 = | |||
| matchesnational = 10 | |||
| goalsnational = | |||
| | |||
| seasonscoach1 = 24 (36) - 31 (43) | |||
| countryteamcoach1 = COL | |||
| teamcoach1 = Once Toques | |||
}} | |||
Infobox Player of [[Ed Cant]]. | |||
<noinclude> | <noinclude> | ||
Revision as of 14:52, 30 October 2010
Usage
{{Infobox Player
| playername =
| playerid =
| image = <!--Just the name of the file, nothing else!-->
| fullname =
| nickname =
| 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 =
|
| totalmatches =
| totalgoals =
|
| 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.
- 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...).
- 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
- seasonscoachx, countryteamcoachx, teamcoachx
- can be used like "Senior Carreer" if player has become a coach.
Example
![]() | |||
| Personal Information | |||
| Full name | Edward Cant | ||
|---|---|---|---|
| Nickname | Cant | ||
| Country | |||
| Position | Coach, former forward | ||
| Current team | |||
| Youth Career | |||
| Youth team | |||
| Senior Career | |||
| Seasons (Global) | Team | ||
| 3 (15) - 6 (18) | 51 | (30) | |
| 7 (19) - 13 (25) | 96 | (124) | |
| 13 (25) - 15 (27) | 33 | (23) | |
| 14 (27) - 16 (29) | 31 | (19) | |
| 17 (29) - 20 (32) | 35 | (6) | |
| 21 (33) - 24 (36) | 41 | (42) | |
| Total | 287 | (244) | |
| National Team | |||
| 13 | |||
| National Team | |||
| 10 | |||
| Teams Managed | |||
| 24 (36) - 31 (43) | |||
| Appearances and goals counted for competitive matches only. | |||
Infobox Player of Ed Cant.
