Template:Infobox Player/doc: Difference between revisions
From Hattrick
Jump to navigationJump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ | {{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", "countryteamcoach2" and so on--> | |||
| countryteamcoach1 = | |||
| teamcoach1 = | |||
}} | }} | ||
</pre> | </pre> | ||
== 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. | ||
;country: The country of the player. | |||
;nickname: Nickname of the | ;position: The position where the player is most lined up. | ||
;currentteam: Team of the player. | |||
;country: The country the | ;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> | ||
Revision as of 14:22, 26 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", "countryteamcoach2" 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.