Template:Minibox Player/doc: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lleida (talk | contribs)
Created page with '==Usage== <pre> {{Minibox Player | playername = | image = | team = | position = | matchesplay…'
 
Lleida (talk | contribs)
No edit summary
 
Line 4: Line 4:
|                playername =
|                playername =
|                    image =
|                    image =
|                  country =
|                      team =
|                      team =
|                  position =
|                  position =
Line 14: Line 15:
}}
}}
</pre>
</pre>
== Description ==
The aim of this template is to organize the players of one team in their hattrick wiki article. Statistics chosen are the easiest to find in hattrick player site.


== Parameters==
== Parameters==
All parameters are necessary.
All parameters are necessary.
;playername: The name of the player.
;playername: The name of the player.
;image: Address to the image. It only works with images uploaded to htwiki. Use the name of the file, nothing else.
;image: Address to the image. It only works with images uploaded to htwiki. Use the name of the file, nothing else.
 
;country: The country of the player
;team: The id number of the player in Hattrick.
;team: The id number of the player in Hattrick.
;fullname: Full, long name of the player.
;fullname: Full, long name of the player.
;position: The position where the player is most lined up.
;matchesplayed: competitive matches played for the player IN THE TEAM
;matchescaptain: competitive matches played as a captain for the player IN THE TEAM
;goals: competitive goals scored for the player IN THE TEAM
;hattricks: competitive hattricks scored for the player IN THE TEAM
;u20matches: appearances of the player in his U20 National Team
;nationalmatches: appearances of the player in his U20 National Team


;nickname: Nickname of the player.
== Recommendation ==
 
It's better to put this template inside a cell in a table or in columns. See this example:
;country: The country of the player.
<pre>{{MultiCol}}
 
<!---->
;position: The position where the player is most lined up.
{{Minibox Player
;currentteam: Team of the player.
|                playername =
;youthteam: Name of the youth team where the player was promoted.
|                    image =
;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.
{{ColBreak}}
<!---->
{{Minibox Player
|                playername =
|                    image =
...
}}
<!---->
{{ColBreak}}
{{Minibox Player
|                playername =
|                    image =
...
}}
<!---->
{{EndMultiCol}}</pre>


<noinclude>
<noinclude>

Latest revision as of 15:21, 29 October 2010

Usage

{{Minibox Player
|                playername =
|                     image =
|                   country =
|                      team =
|                  position =
|             matchesplayed =
|            matchescaptain =
|                     goals =
|                 hattricks =
|                u20matches =
|           nationalmatches =
}}

Description

The aim of this template is to organize the players of one team in their hattrick wiki article. Statistics chosen are the easiest to find in hattrick player site.

Parameters

All parameters are necessary.

playername
The name of the player.
image
Address to the image. It only works with images uploaded to htwiki. Use the name of the file, nothing else.
country
The country of the player
team
The id number of the player in Hattrick.
fullname
Full, long name of the player.
position
The position where the player is most lined up.
matchesplayed
competitive matches played for the player IN THE TEAM
matchescaptain
competitive matches played as a captain for the player IN THE TEAM
goals
competitive goals scored for the player IN THE TEAM
hattricks
competitive hattricks scored for the player IN THE TEAM
u20matches
appearances of the player in his U20 National Team
nationalmatches
appearances of the player in his U20 National Team

Recommendation

It's better to put this template inside a cell in a table or in columns. See this example:

{{MultiCol}}
<!---->
{{Minibox Player
|                playername =
|                     image =
...
}}
<!---->
{{ColBreak}}
<!---->
{{Minibox Player
|                playername =
|                     image =
...
}}
<!---->
{{ColBreak}}
{{Minibox Player
|                playername =
|                     image =
...
}}
<!---->
{{EndMultiCol}}