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
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
WORKING ON IT! DON'T EDIT PLEASE!
==Example==
 
{|
==Usage==
|- valign=top
| style="font-size:88%" | <big>Data of '''Ed Cant''':</big>
<pre>
<pre>
{{infobox club
{{Infobox Player
| teamname =  
|               playername = Ed Cant
| teamid =  
|                 playerid = 2931777
| logouri =  
|                     image = Ed Cant (2931777).png
| manager =  
|                 fullname = Edward Cant
| fullname =  
|                  nickname = Cant
| shortname =  
|             agreeability = pleasant guy
| nickname =  
|            aggressiveness = calm
| region =  
|                  honesty = upright
| country =  
|                experience = disastrous
| league =  
|                leadership = inadequate
| league-pos =  
|                 birthyear = 1996
| league-pos-last =  
|               birthmonth = 10
| arena =  
|                 birthday = 3
| arena-capacity =  
|                   country = Canada
| coach =  
|                   status = Active
| coach-nat =  
|                 position = [[Coach]], former [[forward]]
| fanclub =  
|                specialty = none
| fanclub-size =  
|              currentteam = {{Flagicon|COL}} [[Once Toques]]
| founded =  
|
|          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>
</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==
== Parameters==
Almost all of the parameters are optional and will show in the template only when given a non-empty value.
Almost all of the parameters are optional and will show in the template only when given a non-empty value.
;teamname: The name of the team.
;playername: The name of the player.
;teamid: The id number of the team in Hattrick.
;playerid: The id number of the player in Hattrick.
;logouri: Address to the logo image. It is recommendable to use images uploaded to htwiki and use the '''<nowiki>[[File:Filenam]]</nowiki>''' syntax.
;image: Address to the image. It only works with images uploaded to htwiki. Use the name of the file, nothing else.
;manager: Username of the manager. Use parameter '''htuser''' if you want to link directly to the manager's user page in HT-wiki.
;fullname: Full, long name of the player.
;fullname: Full, long name of the club.
;nickname: Nickname of the player.
;shortname: Short name of the club.
;agreeability, aggressiveness, honesty: Personality of the player.
;nickname: Nickname of the club.
;experience, leadership: Interesting for coaches.
;region: Region the club plays in.
;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 the club plays in.
;country: The country of the player.
;league: The group the club plays in.
;position: The position where the player is most lined up.
;league-pos: The current position of the club in the group.
;currentteam: Team of the player.
;league-pos-last: The position the club finished after last season.
;youthteam: Name of the youth team where the player was promoted.
;arena: Name of the arena the club plays in.
;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...).
;arena-capacity: The capacity of the club's arena.
; matchesu20, goalsu20, matchesnational, goalsnational: same statistics for U-20 and National Team
;coach: Name of the coach training the club.
;seasonscoachx, countryteamcoachx, teamcoachx: can be used like "Senior Career" if player has become a coach.
;coach-nat: Nationality of the coach.
;fanclub: Name of the club's fanclub.
;fanclub-size: Size of the club's fanclub.
;founded: When the club was founded.
 
==Alternative parameters==
;manager: can be replaced with '''htuser''' to directly link the user into his HT-wiki user page.


==Usage==
<pre>
{{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 =
}}
</pre>
<noinclude>
<noinclude>
[[Category:Template documentation]]
[[Category:Template documentation]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>
[[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 75 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 =
}}