User:Spike 'em/sandbox/goaltable
This is to trial template to populate last 3 columns using 2 numbers to calculate a ratio.
It uses
:
:would then move to {{tl|fb-gpr}} so would then use
:
class="wikitable plainrowheaders sortable" style="text-align:center;font-size:95%"
|+List of footballers with 100 or more Premier League goals {{updated|23 February 2019}}. |
scope="col"|Rank
!scope="col" width=150|Player !scope="col" class="unsortable"|Premier League club(s) !scope="col"|National team !scope="col"|Goals !scope="col"|Played !scope="col"|Ratio |
---|
1
|scope="row" style="text-align:left"|{{sortname|Alan|Shearer}} |style="text-align:left"|Blackburn Rovers, Newcastle United |style="text-align:left"|England | {{User:Spike 'em/sandbox/Tfb-gpr|g=260|p=441}} |
2
|scope="row" style="text-align:left"|''{{sortname|Wayne|Rooney}} |style="text-align:left"|Everton, Manchester United |style="text-align:left"|England | {{User:Spike 'em/sandbox/Tfb-gpr|g=208|p=494}} |
3
|scope="row" style="text-align:left"|{{sortname|Andy|Cole}} |style="text-align:left"|Newcastle United, Manchester United, Blackburn Rovers, Fulham, Manchester City, Portsmouth |style="text-align:left"|England |{{User:Spike 'em/sandbox/Tfb-gpr|g=187|p=414}} |
4
|scope="row" style="text-align:left"|{{sortname|Frank|Lampard}} |style="text-align:left"|West Ham United, Chelsea, Manchester City |style="text-align:left"|England |{{User:Spike 'em/sandbox/Tfb-gpr|g=177|p=609}} |
5
|scope="row" style="text-align:left"|{{sortname|Thierry|Henry}} |style="text-align:left"|Arsenal |style="text-align:left"|France |{{User:Spike 'em/sandbox/Tfb-gpr|g=175|p=258}} |