Template:Fb g player/doc

From Wikipedia, the free encyclopedia

Description[edit]

Fb g header (Football goalscorers header). To make the entire table is working, is necessary to put the templates in the following order:

  1. {{Fb g header}}
  2. {{Fb g player}}
  3. {{Fb g footer}}

Usage[edit]

{{Fb g player |r= |pos= |c= |cv= |p= |pl= |ta= |tg= |pen= |u= }}
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[edit]

With all the parameters[edit]

{{Fb g header}}
{{Fb g player |r=1 |pos=FW |c=ESP |cv=1945 |p=José Luis Mendoza |pl=Wikipedia:Main Page |ta=20 |tg=15 |pen=2 |u=6 September 2013}}
{{Fb g footer}}

Result:

R Pos Player App G Pen Avg Updated


1st FW Spain José Luis Mendoza 20 15 2 0.75 6 September 2013

Source: [citation needed]


Only the required parameters[edit]

{{Fb g header}}
{{Fb g player |r=14 |c=COL |p=Jackson Ulloa |ta=15 |tg=0 |u=6 September 2013}}
{{Fb g footer}}

Result:

R Pos Player App G Pen Avg Updated


14th Colombia Jackson Ulloa 15 0 0 6 September 2013

Source: [citation needed]