Template:Fb g player
{{{r}}}th | {{country data {{{c}}}|flag icon/core|variant={{{cv}}}|size=}} [[{{{p}}}]] | {{{ta}}} | {{{tg}}} | Missing data! | January 1, 2000 |
Description
Fb g header (Football goalscorers header). To make the entire table is working, is necessary to put the templates in the following order:
- {{Fb g header}}
- {{Fb g player}}
- {{Fb g footer}}
Usage
<syntaxhighlight lang="wikitext" style="overflow:auto">
|-
||th
||
| style="text-align:left;" | [[]]
||–
||–
||
||Missing data!
||
|-
</syntaxhighlight>
- r
- Ranking (required). Example: 1
- pos
- Position of the player, abbreviated. For the abbreviations, see {{Fb position}}. Example: GK
- c
- Nationality (required). Example: England. Another way: ENG
- cv
- Flag variant. Use this for players of former countries or that played in a year in which the flag of their country was other than the actual. Example: 1945
- p
- Name of the player (required). Example: Falcao
- pl
- Link of the player's article. It's only necessary if the name of the player's article is different to the player's name. Example: Radamel Falcao
- ta
- Total appearances (required). Example: 20
- tg
- Total goals (required). Example: 15
- pen
- Goals scored by penalties. Example: 2
- u
- Date of update (required). Used to know what was the last game taken as a reference. For all the possible inputs, see {{date table sorting}}. Example: 10 February 2011
Example
With all the parameters
<syntaxhighlight lang="wikitext" style="overflow:auto">
R | Pos | Player | App | G | Pen | Avg | Updated
|
---|---|---|---|---|---|---|---|
1st | FW | ![]() |
20 | 15 | 2 | 0.75 | 6 September 2013 |
Source: [citation needed]
</syntaxhighlight>
Result:
R | Pos | Player | App | G | Pen | Avg | Updated
|
---|---|---|---|---|---|---|---|
1st | FW | ![]() |
20 | 15 | 2 | 0.75 | 6 September 2013 |
Source: [citation needed]
Only the required parameters
<syntaxhighlight lang="wikitext" style="overflow:auto">
R | Pos | Player | App | G | Pen | Avg | Updated
|
---|---|---|---|---|---|---|---|
14th | ![]() |
15 | 0 | 0 | 6 September 2013 |
Source: [citation needed]
</syntaxhighlight>
Result:
R | Pos | Player | App | G | Pen | Avg | Updated
|
---|---|---|---|---|---|---|---|
14th | ![]() |
15 | 0 | 0 | 6 September 2013 |
Source: [citation needed]