Template:Infobox Player/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lleida (talk | contribs)
mNo edit summary
Para Para (talk | contribs)
Personality, experience, leadership added
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Example==
{|
|- valign=top
| style="font-size:88%" | <big>Data of '''Ed Cant''':</big>
<pre>
{{Infobox Player
|                playername = Ed Cant
|                  playerid = 2931777
|                    image = Ed Cant (2931777).png
|                  fullname = Edward Cant
|                  nickname = Cant
|              agreeability = pleasant guy
|            aggressiveness = calm
|                  honesty = upright
|                experience = disastrous
|                leadership = inadequate
|                birthyear = 1996
|                birthmonth = 10
|                  birthday = 3
|                  country = Canada
|                    status = Active
|                  position = [[Coach]], former [[forward]]
|                specialty = none
|              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
}}
</pre>
| width=5% | ->
| Infobox Player Result for player:<br>
{{Infobox Player
|                playername = Ed Cant
|                  playerid = 2931777
|                    image = Ed Cant (2931777).png
|                  fullname = Edward Cant
|                  nickname = Cant
|              agreeability = pleasant guy
|            aggressiveness = calm
|                  honesty = upright
|                experience = disastrous
|                leadership = inadequate
|                birthyear = 1996
|                birthmonth = 10
|                  birthday = 3
|                  country = Canada
|                    status = Active
|                  position = [[Coach]], former [[forward]]
|                specialty = none
|              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
}}
|}
== 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.
;agreeability, aggressiveness, honesty: Personality of the player.
;experience, leadership: Interesting for coaches.
;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.
==Usage==
==Usage==
<pre>
<pre>
Line 7: Line 176:
|                  fullname =
|                  fullname =
|                  nickname =
|                  nickname =
|              agreeability =
|            aggressiveness =
|                  honesty =
|                experience =
|                leadership =
|                birthyear =
|                birthmonth =
|                  birthday =
|                  country =
|                  country =
|                    status =
|                  position =
|                  position =
|              currentteam =
|              currentteam =
|
|
|         countryyouthteam =
|             originalteam = <!-- Player from original club when founded -->
|                youthteam =
|              discoverteam = <!-- Scouting Network-->
|                teamwiki1 =
|                    teamid = <!-- Senior team ID -->
|                youthteam = <!-- Youth academy -->
|            youthteamwiki1 =
|              youthteamid = <!-- Youth academy team ID -->
|                  scouted = <!-- Scout name -->
|
|
|                  seasons1 =  
|                  seasons1 =  
|              countryteam1 =  
|              countryteam1 =  
|                    team1 =  
|                    team1 =  
|                teamwiki1 =
|                  teamid1 =
|                  matches1 =  
|                  matches1 =  
|                    goals1 =  
|                    goals1 =  
Line 23: Line 209:
|              countryteamx =  
|              countryteamx =  
|                    teamx =  
|                    teamx =  
|                teamwikix =
|                  teamidx =
|                  matchesx =  
|                  matchesx =  
|                    goalsx =  
|                    goalsx =  
|                 
|              totalmatches =
|                totalgoals =
|
|
|                matchesu20 =
|                matchesu20 =
Line 39: Line 224:
}}
}}
</pre>
</pre>
== 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.
<noinclude>
<noinclude>
[[Category:Template documentation]]
[[Category:Template documentation]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[[Category:Player templates]]
[[Category:Player templates|Infobox Player]]
[[Category:Infobox templates|Player]]
</includeonly>
</includeonly>

Latest revision as of 20:49, 30 May 2020

Example

Data of Ed Cant:
{{Infobox Player
|                playername = Ed Cant
|                  playerid = 2931777
|                     image = Ed Cant (2931777).png
|                  fullname = Edward Cant
|                  nickname = Cant
|              agreeability = pleasant guy
|            aggressiveness = calm
|                   honesty = upright
|                experience = disastrous
|                leadership = inadequate
|                 birthyear = 1996
|                birthmonth = 10
|                  birthday = 3
|                   country = Canada
|                    status = Active
|                  position = [[Coach]], former [[forward]]
|                 specialty = none
|               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 Result for player:
Ed Cant (2931777)
A pleasant guy guy who is calm and upright.
Has disastrous experience and inadequate leadership.
Personal Information
Full name Edward Cant
Nickname Cant
Age97 years and 76 days
Country  Canada
StatusActive
PositionCoach, former forward
Specialtynone
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.

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.
agreeability, aggressiveness, honesty
Personality of the player.
experience, leadership
Interesting for coaches.
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.

Usage

{{Infobox Player
|                playername =
|                  playerid =
|                     image = <!--Just the name of the file, nothing else!-->
|                  fullname =
|                  nickname =
|              agreeability = 
|            aggressiveness = 
|                   honesty = 
|                experience = 
|                leadership = 
|                 birthyear = 
|                birthmonth = 
|                  birthday =
|                   country =
|                    status =
|                  position =
|               currentteam =
|
|              originalteam = <!-- Player from original club when founded -->
|              discoverteam = <!-- Scouting Network-->
|                 teamwiki1 = 
|                    teamid = <!-- Senior team ID -->
|                 youthteam = <!-- Youth academy -->
|            youthteamwiki1 = 
|               youthteamid = <!-- Youth academy team ID -->
|                   scouted = <!-- Scout name -->
|
|                  seasons1 = 
|              countryteam1 = 
|                     team1 = 
|                 teamwiki1 = 
|                   teamid1 = 
|                  matches1 = 
|                    goals1 = 
|
|                  seasonsx = <!--If you want to add more teams, then this will be "seasons2", "countryteam2" and so on-->
|              countryteamx = 
|                     teamx = 
|                 teamwikix = 
|                   teamidx = 
|                  matchesx = 
|                    goalsx = 
|
|                matchesu20 =
|                  goalsu20 =
|           matchesnational =
|             goalsnational =
|
|             seasonscoach1 = <!--If you want to add more teams, then this will be "seasonscoach2" and so on-->
|         countryteamcoach1 = 
|                teamcoach1 =
}}