User:Flickerd/sandbox/Template5/doc
This is a documentation subpage for User:Flickerd/sandbox/Template5. It may contain usage information, categories and other content that is not part of the original user template page. |
Syntax
[edit]Full template
[edit]{{MLLCareerStats |hideLegend= |player_name_link= |player_name= |season#_year= |season#_team_link= |season#_team= |season#_games_played= |season#_goals= |season#_2pt_goals= |season#_assists= |season#_shots= |season#_ground_balls= |season#_penalties= |season#_penalty_minutes= |season#_faceoffs_won= |season#_faceoffs_att= |season#_playoff_games_played= |season#_playoff_goals= |season#_playoff_2pt_goals= |season#_playoff_assists= |season#_playoff_shots= |season#_playoff_ground_balls= |season#_playoff_penalties= |season#_playoff_penalty_minutes= |season#_playoff_faceoffs_won= |season#_playoff_faceoffs_att= }}
Explanation of fields
[edit]{{MLLCareerStats |hideLegend= Set to 1 to hide the legend at the bottom of the table (purely aesthetic). |player_name_link= Optional: Wikipedia entry for the player. |player_name= Optional: The name of the player (use if different from player_name_link, or Wikipedia entry does not exist). |season#_year= The year this season took place. |season#_team_link= The Wikipedia entry for the team the player is on, or entry for the particular season. |season#_team= The name of the team the player plays for (use if different from team_link, or Wikipedia entry does not exist). |season#_games_played= The number of games played by the player during this season. If you include this parameter, set it to "--" to indicate they haven't played any games. |season#_goals= The number of goals scored by the player during this season. |season#_2pt_goals= The number of 2-point goals scored by the player during this season. |season#_assists= The number of assists awarded to the player during this season. |season#_shots= The number of shots attempted by the player during the season. |season#_ground_balls= The number of ground balls credited to the player during this season. |season#_penalties= The number of penalties committed by the player during the season. |season#_penalty_minutes= The number of penalty minutes served during this season. |season#_faceoffs_won= The number of faceoffs won by the player during the season. |season#_faceoffs_att= The number of faceoffs attempted by the player during the season |season#_playoff_games_played= The number of games played by the player during these particular playoffs. If you include this parameter, set it to "--" to indicate they haven't played any games. |season#_playoff_goals= The number of goals scored by the player during these particular playoffs. |season#_playoff_2pt_goals= The number of 2-point goals scored by the player during these particular playoffs. |season#_playoff_assists= The number of assists awarded to the player during these particular playoffs. |season#_playoff_shots= The number of shots attempted by the player during these particular playoffs. |season#_playoff_ground_balls= The number of ground balls credited to the player during these particular playoffs. |season#_playoff_penalties= The number of penalties committed by the player during these particular playoffs. |season#_playoff_penalty_minutes= The number of penalty minutes served during the playoffs of these particular playoffs. |season#_playoff_faceoffs_won= The number of faceoffs won by the player during these particular playoffs. |season#_playoff_faceoffs_att= The number of faceoffs attempted by the player during these particular playoffs.
The template is designed to handle 25 seasons. Replace the # above with the any number from 1-25 as necessary. If a player changes teams during a season, simply use the next # but keep the year value the same.
Mandatory fields
[edit]{{NLLCareerStats |season#_year= }}
The season will be added to the players list with simply the year filled in. It will default to no entries (all columns will be "--"). A team is not necessary, but the information should be included for completeness.
Data checking
[edit]There is absolutely no data verification. If a parameter is not included, it is given a default value. However, if you include an improper value (e.g.: "eight" instead of 8 for a numerical parameter), it will most likely break the template. Ensure that all values input show up as expected when template is used.
Calculations
[edit]The totals for the columns along with the career totals are calculated automatically.
Usage
[edit]Use this template to present career statistics for Major League Lacrosse players other than goaltenders.