Template:Infobox Player/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
Personality, experience, leadership added |
||
| (20 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
==Example== | |||
{| | |||
== | |- valign=top | ||
| style="font-size:88%" | <big>Data of '''Ed Cant''':</big> | |||
<pre> | <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 | ||
| country = | | 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> | </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. | ||
; | ;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. | |||
;fullname: Full, long name of the | ;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== | |||
<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:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 =
}}
