แม่แบบ:Goalscorers/doc

This template creates a list of goalscorers for association football or any other sports competitions. Assists are also supported.

**Usage**
goals: จำนวนประตูที่ทำได้ในการแข่งขัน
*matches: จำนวนนัดที่เล่นในการแข่งขัน
*ongoing: Any value will change the wording to present tense (remove once competition is complete)
*bold: Any value will add a note that active players are in bold (remove once competition is complete)
*updated: Allows a date of last update to be displayed
*goalscorers: Number of unique goalscorers (not including own goals)
**own goals: Number of own goals
*20 goals, 19 goals, ... 2 goals, 1 goal, 1 own goal, 2 own goals, ... 5 own goals: parameters for listing the goalscorers
*assists: Switches template to assists.
**20 assists, 19 assists, ... 2 assists, 1 assist: parameters for listing the assists
**When enabled, the following parameters are ignored: goals, matches, own goals, ongoing
*lc: Makes the first letter of the introductory sentence lower case. Allows a qualifying phrase before the goals scored and average per game statement. 
*further: Allows additional text to be added to the introductory paragraph. Can be used to add a golden boot winner.
*sep: Punctuation to use before the text added by further (default is fullstop).
*extra: Allows text to be added in a new paragraph.
*source Allows source to be included as footer.
{
	"params": {
		"assists": {},
		"ongoing": {},
		"goals": {
			"required": true
		},
		"players": {},
		"own goals": {},
		"matches": {
			"required": true
		},
		"bold": {},
		"further": {},
		"extra": {},
		"30 goals": {},
		"30 assists": {},
		"29 goals": {},
		"29 assists": {},
		"28 goals": {},
		"28 assists": {},
		"27 goals": {},
		"27 assists": {},
		"26 goals": {},
		"26 assists": {},
		"25 goals": {},
		"25 assists": {},
		"24 goals": {},
		"24 assists": {},
		"23 goals": {},
		"23 assists": {},
		"22 goals": {},
		"22 assists": {},
		"21 goals": {},
		"21 assists": {},
		"20 goals": {},
		"20 assists": {},
		"19 goals": {},
		"19 assists": {},
		"18 goals": {},
		"18 assists": {},
		"17 goals": {},
		"17 assists": {},
		"16 goals": {},
		"16 assists": {},
		"15 goals": {},
		"15 assists": {},
		"14 goals": {},
		"14 assists": {},
		"13 goals": {},
		"13 assists": {},
		"12 goals": {},
		"12 assists": {},
		"11 goals": {},
		"11 assists": {},
		"10 goals": {},
		"10 assists": {},
		"9 goals": {},
		"9 assists": {},
		"8 goals": {},
		"8 assists": {},
		"7 goals": {},
		"7 assists": {},
		"6 goals": {},
		"6 assists": {},
		"5 goals": {},
		"5 assists": {},
		"4 goals": {},
		"4 assists": {},
		"3 goals": {},
		"3 assists": {},
		"2 goals": {},
		"2 assists": {},
		"1 goal": {},
		"1 assist": {},
		"1 own goal": {},
		"2 own goals": {},
		"3 own goals": {},
		"bottom": {},
		"bottom_text": {},
		"source": {},
		"updated": {
			"type": "date",
			"required": true
		}
	},
	"paramOrder": 
		"matches",
		"goals",
		"assists",
		"updated",
		"ongoing",
		"players",
		"own goals",
		"bold",
		"further",
		"extra",
		"30 goals",
		"30 assists",
		"29 goals",
		"29 assists",
		"28 goals",
		"28 assists",
		"27 goals",
		"27 assists",
		"26 goals",
		"26 assists",
		"25 goals",
		"25 assists",
		"24 goals",
		"24 assists",
		"23 goals",
		"23 assists",
		"22 goals",
		"22 assists",
		"21 goals",
		"21 assists",
		"20 goals",
		"20 assists",
		"19 goals",
		"19 assists",
		"18 goals",
		"18 assists",
		"17 goals",
		"17 assists",
		"16 goals",
		"16 assists",
		"15 goals",
		"15 assists",
		"14 goals",
		"14 assists",
		"13 goals",
		"13 assists",
		"12 goals",
		"12 assists",
		"11 goals",
		"11 assists",
		"10 goals",
		"10 assists",
		"9 goals",
		"9 assists",
		"8 goals",
		"8 assists",
		"7 goals",
		"7 assists",
		"6 goals",
		"6 assists",
		"5 goals",
		"5 assists",
		"4 goals",
		"4 assists",
		"3 goals",
		"3 assists",
		"2 goals",
		"2 assists",
		"1 goal",
		"1 assist",
		"1 own goal",
		"2 own goals",
		"3 own goals",
		"bottom",
		"bottom_text",
		"source"
	,
	"description": "ผู้ทำประตู"
}

**Formatting**
Goalscorers should be separated by line and should be preceded by * (asterisk), along with a flag. One of the following football flag icon templates should be used:
*Fbicon: men (senior)
*Fboicon: men (Olympics)
*Fbuicon: men (youth)
*Fbwicon: women (senior)
*Fbwuicon: women (youth)
Goalscorers should first be sorted alphabetically by national team, then by last name. Scorers of own goals should be followed by "(against OPPONENT)", where 'OPPONENT' is the team for which they scored. The opponent should not be linked, nor should the text be changed to a smaller size.

**Example**
An example of correct usage:
This code produces the following (shown inside a green border):
{
	"params": {
		"assists": {},
		"ongoing": {},
		"goals": {
			"required": true
		},
		"players": {},
		"own goals": {},
		"matches": {
			"required": true
		},
		"bold": {},
		"further": {},
		"extra": {},
		"30 goals": {},
		"30 assists": {},
		"29 goals": {},
		"29 assists": {},
		"28 goals": {},
		"28 assists": {},
		"27 goals": {},
		"27 assists": {},
		"26 goals": {},
		"26 assists": {},
		"25 goals": {},
		"25 assists": {},
		"24 goals": {},
		"24 assists": {},
		"23 goals": {},
		"23 assists": {},
		"22 goals": {},
		"22 assists": {},
		"21 goals": {},
		"21 assists": {},
		"20 goals": {},
		"20 assists": {},
		"19 goals": {},
		"19 assists": {},
		"18 goals": {},
		"18 assists": {},
		"17 goals": {},
		"17 assists": {},
		"16 goals": {},
		"16 assists": {},
		"15 goals": {},
		"15 assists": {},
		"14 goals": {},
		"14 assists": {},
		"13 goals": {},
		"13 assists": {},
		"12 goals": {},
		"12 assists": {},
		"11 goals": {},
		"11 assists": {},
		"10 goals": {},
		"10 assists": {},
		"9 goals": {},
		"9 assists": {},
		"8 goals": {},
		"8 assists": {},
		"7 goals": {},
		"7 assists": {},
		"6 goals": {},
		"6 assists": {},
		"5 goals": {},
		"5 assists": {},
		"4 goals": {},
		"4 assists": {},
		"3 goals": {},
		"3 assists": {},
		"2 goals": {},
		"2 assists": {},
		"1 goal": {},
		"1 assist": {},
		"1 own goal": {},
		"2 own goals": {},
		"3 own goals": {},
		"bottom": {},
		"bottom_text": {},
		"source": {},
		"updated": {}
	},
	"paramOrder": 
		"matches",
		"goals",
		"ongoing",
		"bold",
		"assists",
		"players",
		"own goals",
		"further",
		"extra",
		"30 goals",
		"30 assists",
		"29 goals",
		"29 assists",
		"28 goals",
		"28 assists",
		"27 goals",
		"27 assists",
		"26 goals",
		"26 assists",
		"25 goals",
		"25 assists",
		"24 goals",
		"24 assists",
		"23 goals",
		"23 assists",
		"22 goals",
		"22 assists",
		"21 goals",
		"21 assists",
		"20 goals",
		"20 assists",
		"19 goals",
		"19 assists",
		"18 goals",
		"18 assists",
		"17 goals",
		"17 assists",
		"16 goals",
		"16 assists",
		"15 goals",
		"15 assists",
		"14 goals",
		"14 assists",
		"13 goals",
		"13 assists",
		"12 goals",
		"12 assists",
		"11 goals",
		"11 assists",
		"10 goals",
		"10 assists",
		"9 goals",
		"9 assists",
		"8 goals",
		"8 assists",
		"7 goals",
		"7 assists",
		"6 goals",
		"6 assists",
		"5 goals",
		"5 assists",
		"4 goals",
		"4 assists",
		"3 goals",
		"3 assists",
		"2 goals",
		"2 assists",
		"1 goal",
		"1 assist",
		"1 own goal",
		"2 own goals",
		"3 own goals",
		"bottom",
		"bottom_text",
		"updated",
		"source"
	
}