Difference between revisions of "Module:Goalscorers/data/test competition"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jts1882
(comment for Robbie Keane to test bolding)
blackwiki>S.A. Julio
(add)
Line 74: Line 74:
 
     {"Thomas Smith",          "Turkey",      "D",        0,      91,      0  },
 
     {"Thomas Smith",          "Turkey",      "D",        0,      91,      0  },
  
 
+
    {"Wu Lei",          "CHN",      "D",        0,      33,      0  },
 +
    {"Yu Dabao",          "CHN",      "D",        0,      33,      0  },
 +
    {"Gao Lin",          "CHN",      "D",        0,      33,      0  },
 +
    {"Xiao Zhi",          "CHN",      "D",        0,      33,      0  },
  
 
     {"Thomas Smith",          "SCO",      "Z",        0,      1,      0  },
 
     {"Thomas Smith",          "SCO",      "Z",        0,      1,      0  },

Revision as of 15:00, 22 January 2019

Documentation for this module may be created at Module:Goalscorers/data/test competition/doc

local data = {}

-- information about other templates used by module
data.templates = { flag_icon_linked = "fbuicon",      -- template for flag icon and team link [fbicon|fbwicon]
	               youth_level = 21,
	               flagvar = { GRE = "old", ESP = "1945" }
} 
data.params =    { date_format = "dmy",                              
	               further = "Further text in module", 
	               extra = "Extra text in module" ,
	               footer=  "\n'''Notes:'''\n{{notelist-ua|refs="
	               	 .. "{{efn-ua|name=goals|This player's goal tally includes one or more goals which the player scored in matches that were subsequently forfeited, but which FIFA continues to count in its statistics.}}"
	                 .. "}}"
}
data.active_countries = {"SWE" ,"UKR", "IRL", "POL"}

-- this is to test idea on only listing notes cited by checking name table
data.notes = { goals = "This player's goal tally includes one or more goals which the player scored in matches that were subsequently forfeited, but which FIFA continues to count in its statistics.",
	           misc  = "Some other note."
}
	               
-- date of latest update
data.updated2 = { date = '11 December 2018' }
data.updated = { -- round,       group,  matches,  update date
                    prequalifying      = {   3,   "complete" },
                    group =      {  A =  {  30,   "complete" },
                                    B =  {  30,   "complete" },
                                    C =  {  30,   "complete" },
                                    D =  {  30,   "complete" },
                                    E =  {  30,   "complete" },
                                    F =  {  30,   "complete" },
                                    G =  {  1,   "2018-12-01" },
                                    H =  {  30,   "complete" },
                                    Y =  {  20,   "2018-11-22" },
                                    Z =  {  20,   "2018-11-22" },
                                 },
                    playoffs =           {   8,   "2018-12-02" },
                    
--                    further_text = "[[Michel Platini]]'s nine goals remains a record in a single European Championship."
               }
-- rounds of competition 
data.rounds = { prequalifying =4, group = 5, playoffs = 6 }  -- round with column for goals

--[[ how do we hand countries in groups and countries still participating
data.country {
	both = { D = { SCO, "complete"}, { POL, "complete"}, { IRL, "complete"}, { GER, "complete"} }, 
		    },
    group =  { D = { "SCO", "POL", "IRL", "GER" }, },
    ongoing = { "SCO", "POL", "IRL", "GER", etc }        --   list all countries still participating
}]]

-- main goalscorer table 
data.goalscorers = {
    --                                                 ---------    goals by stage -------
	--  player name,            country,   group id,     prequalifying, group, playoffs

    -- top goal scorers from group D
    {"Steven Fletcher",        "Scotland",      "D",         0,       7,       0   },
	{"Kamil Grosicki",         "POL",        "D",         0,       4,       0   },
    {"Robbie Keane",     "IRL", "D",         0,       {5, " (Irish legend)"},       0   },
    {"Robert Lewandowski",     "POL",        "D",         1,     { 13, "comment1"},       {0, "{{efn-ua|name=goals}}"}   },
    {"Shaun Maloney",          "Scotland",      "D",         0,       5,       0   },
    {"Arkadiusz Milik",        "POL",        "D",         0,       6,       0   },
    {"Thomas Mtller",          "Germany",       "D",         0,       9,       0   },
    {"Thomas Müller",          "Germany",       "D",         0,     {  9, "{{efn-ua|name=goals}}" },       0   },
    {"Thomas Mvller",          "Germany",       "D",         0,       9,       0   },
    
    {"Thomas İsmail",          "Turkey",       "D",         0,       91,       0   },
    {"Thomas Ismai",          "Turkey",       "D",         0,       91,       0   },
    {"Thomas Ismaili",          "Turkey",       "D",         0,       91,       0   },
    {"Thomas Ian",          "Turkey",       "D",         0,       91,       0   },
    {"Thomas Issac",          "Turkey",       "D",         0,       91,       0   },
    {"Thomas Brown",          "Turkey",       "D",         0,       91,       0   },
    {"Thomas Smith",          "Turkey",       "D",         0,       91,       0   },

    {"Wu Lei",          "CHN",       "D",         0,       33,       0   },
    {"Yu Dabao",          "CHN",       "D",         0,       33,       0   },
    {"Gao Lin",          "CHN",       "D",         0,       33,       0   },
    {"Xiao Zhi",          "CHN",       "D",         0,       33,       0   },

    {"Thomas Smith",          "SCO",       "Z",         0,       1,       0   },
    -- test sorting
    {"Oak",          "ENG",       "X",         0,       19,       0   },
    {"Oak Hill",          "ENG",       "X",         0,       19,       0   },
    {"Oak Ridge",          "ENG",       "X",         0,       19,       0   },
    {"Oakley Park",          "ENG",       "X",         0,       19,       0   },
    {"Oakley River",          "ENG",       "X",         0,       19,       0   },
    {  "Jón Dagur Þorsteinsson (real name)",                            "Iceland",      "D",         0,       5,       0   },
    {  "Jon Dagur Thorsteinsson (anglised name)",                       "Iceland",      "D",         0,       5,       0   },
    { {"Jón Dagur Þorsteinsson (sort name)", "Thorsteinsson, Jon Dagur" },   "Iceland",      "D",         0,       5,       0   },
    {  "Kári Árnason (real name)",                                           "Iceland",      "D",         0,       5,       0   },
    {  "Kari Arnason (anglised name)",                                       "Iceland",      "D",         0,       5,       0   },
    { {"Kári Árnason (sort name)",           "Arnason, Kari" },              "Iceland",      "D",         0,       5,       0   },
    {"Jon Aaaason",          "Iceland",      "D",         0,       5,       0   },
    {"Jon bbbbson",          "Iceland",      "D",         0,       5,       0   },
    {"Jon Zzzzason",          "Iceland",      "D",         0,       5,       0   },
    {"Country Code",          "ISL",      "D",         0,       5,       0   },
    {"John Smith",        "LAO",      "Y",         0,       1,       0   },
    {"John Smith",        "GNB",      "Y",         0,       1,       0   },
    {"John Smith",        "ZAM",      "Y",         0,       1,       0   },
    {"John Smith",        "SIN",      "Y",         0,       1,       0   },
    {"John Smith",        "SUI",      "Y",         0,       1,       0   },
    {"John Smith",        "BEN",      "Y",         0,       1,       0   },
    {"John Smith",        "SKN",      "Y",         0,       1,       0   },
    {"John Smith",        "CPV",      "Y",         0,       1,       0   },
    {"John Smith",        "ALB",      "Y",         0,       1,       0   },
    {"John Smith",        "KSA",      "Y",         0,       1,       0   },
    {"John Smith",        "CYP",      "Y",         0,       1,       0   },
    {"John Smith",        "IRN",      "Y",         0,       1,       0   },
    {"John Smith",        "BAH",      "Y",         0,       1,       0   },
    {"John Smith",        "PAN",      "Y",         0,       1,       0   },
    {"John Smith",        "CMR",      "Y",         0,       1,       0   },
    {"John Smith",        "PHI",      "Y",         0,       1,       0   },
    {"John Smith",        "SSD",      "Y",         0,       1,       0   },
    {"John Smith",        "UGA",      "Y",         0,       1,       0   },
    {"John Smith",        "DJI",      "Y",         0,       1,       0   },
    {"John Smith",        "BEL",      "Y",         0,       1,       0   },
    {"John Smith",        "CRO",      "Y",         0,       1,       0   },
    {"John Smith",        "KEN",      "Y",         0,       1,       0   },
    {"John Smith",        "AND",      "Y",         0,       1,       0   },
    {"John Smith",        "URU",      "Y",         0,       1,       0   },
    {"John Smith",        "ARM",      "Y",         0,       1,       0   },
    {"John Smith",        "AUS",      "Y",         0,       1,       0   },
    {"John Smith",        "ALG",      "Y",         0,       1,       0   },
    {"John Smith",        "BUL",      "Y",         0,       1,       0   },
    {"John Smith",        "NEP",      "Y",         0,       1,       0   },
    {"John Smith",        "CAN",      "Y",         0,       1,       0   },
    {"John Smith",        "ERI",      "Y",         0,       1,       0   },
    {"John Smith",        "CAM",      "Y",         0,       1,       0   },
    {"John Smith",        "RWA",      "Y",         0,       1,       0   },
    {"John Smith",        "ARG",      "Y",         0,       1,       0   },
    {"John Smith",        "UZB",      "Y",         0,       1,       0   },
    {"John Smith",        "NIR",      "Y",         0,       1,       0   },
    {"John Smith",        "COM",      "Y",         0,       1,       0   },
    {"John Smith",        "GER",      "Y",         0,       1,       0   },
    {"John Smith",        "TAH",      "Y",         0,       1,       0   },
    {"John Smith",        "NED",      "Y",         0,       1,       0   },
    {"John Smith",        "GHA",      "Y",         0,       1,       0   },
    {"John Smith",        "CTA",      "Y",         0,       1,       0   },
    {"John Smith",        "BRA",      "Y",         0,       1,       0   },
    {"John Smith",        "LUX",      "Y",         0,       1,       0   },
    {"John Smith",        "LIB",      "Y",         0,       1,       0   },
    {"John Smith",        "BOT",      "Y",         0,       1,       0   },
    {"John Smith",        "PAK",      "Y",         0,       1,       0   },
    {"John Smith",        "IRQ",      "Y",         0,       1,       0   },
    {"John Smith",        "SDN",      "Y",         0,       1,       0   },
    {"John Smith",        "TPE",      "Y",         0,       1,       0   },
    {"John Smith",        "MOZ",      "Y",         0,       1,       0   },
    {"John Smith",        "UAE",      "Y",         0,       1,       0   },
    {"John Smith",        "LVA",      "Y",         0,       1,       0   },
    {"John Smith",        "HAI",      "Y",         0,       1,       0   },
    {"John Smith",        "CAY",      "Y",         0,       1,       0   },
    {"John Smith",        "IDN",      "Y",         0,       1,       0   },
    {"John Smith",        "HUN",      "Y",         0,       1,       0   },
    {"John Smith",        "HON",      "Y",         0,       1,       0   },
    {"John Smith",        "STP",      "Y",         0,       1,       0   },
    {"John Smith",        "QAT",      "Y",         0,       1,       0   },
    {"John Smith",        "CZE",      "Y",         0,       1,       0   },
    {"John Smith",        "MDA",      "Y",         0,       1,       0   },
    {"John Smith",        "COK",      "Y",         0,       1,       0   },
    {"John Smith",        "MLT",      "Y",         0,       1,       0   },
    {"John Smith",        "NZL",      "Y",         0,       1,       0   },
    {"John Smith",        "ARU",      "Y",         0,       1,       0   },
    {"John Smith",        "CHA",      "Y",         0,       1,       0   },
    {"John Smith",        "CIV",      "Y",         0,       1,       0   },
    {"John Smith",        "ENG",      "Y",         0,       1,       0   },
    {"John Smith",        "KUW",      "Y",         0,       1,       0   },
    {"John Smith",        "IRL",      "Y",         0,       1,       0   },
    {"John Smith",        "VIE",      "Y",         0,       1,       0   },
    {"John Smith",        "NCA",      "Y",         0,       1,       0   },
    {"John Smith",        "CUB",      "Y",         0,       1,       0   },
    {"John Smith",        "PUR",      "Y",         0,       1,       0   },
    {"John Smith",        "MAR",      "Y",         0,       1,       0   },
    {"John Smith",        "NOR",      "Y",         0,       1,       0   },
    {"John Smith",        "VIR",      "Y",         0,       1,       0   },
    {"John Smith",        "BDI",      "Y",         0,       1,       0   },
    {"John Smith",        "AUT",      "Y",         0,       1,       0   },
    {"John Smith",        "VAN",      "Y",         0,       1,       0   },
    {"John Smith",        "SLE",      "Y",         0,       1,       0   },
    {"John Smith",        "SEN",      "Y",         0,       1,       0   },
    {"John Smith",        "BER",      "Y",         0,       1,       0   },
    {"John Smith",        "GEO",      "Y",         0,       1,       0   },
    {"John Smith",        "JPN",      "Y",         0,       1,       0   },
    {"John Smith",        "HKG",      "Y",         0,       1,       0   },
    {"John Smith",        "CHI",      "Y",         0,       1,       0   },
    {"John Smith",        "NAM",      "Y",         0,       1,       0   },
    {"John Smith",        "VGB",      "Y",         0,       1,       0   },
    {"John Smith",        "MAD",      "Y",         0,       1,       0   },
    {"John Smith",        "SWZ",      "Y",         0,       1,       0   },
    {"John Smith",        "ISL",      "Y",         0,       1,       0   },
    {"John Smith",        "WAL",      "Y",         0,       1,       0   },
    {"John Smith",        "ESP",      "Y",         0,       1,       0   },
    {"John Smith",        "SMR",      "Y",         0,       1,       0   },
    {"John Smith",        "PER",      "Y",         0,       1,       0   },
    {"John Smith",        "VEN",      "Y",         0,       1,       0   },
    {"John Smith",        "LES",      "Y",         0,       1,       0   },
    {"John Smith",        "NCL",      "Y",         0,       1,       0   },
    {"John Smith",        "SVN",      "Y",         0,       1,       0   },
    {"John Smith",        "MDV",      "Y",         0,       1,       0   },
    {"John Smith",        "BAN",      "Y",         0,       1,       0   },
    {"John Smith",        "TJK",      "Y",         0,       1,       0   },
    {"John Smith",        "OMA",      "Y",         0,       1,       0   },
    {"John Smith",        "CGO",      "Y",         0,       1,       0   },
    {"John Smith",        "SYR",      "Y",         0,       1,       0   },
    {"John Smith",        "GIB",      "Y",         0,       1,       0   },
    {"John Smith",        "ROU",      "Y",         0,       1,       0   },
    {"John Smith",        "MNE",      "Y",         0,       1,       0   },
    {"John Smith",        "FRA",      "Y",         0,       1,       0   },
    {"John Smith",        "USA",      "Y",         0,       1,       0   },
    {"John Smith",        "CUW",      "Y",         0,       1,       0   },
    {"John Smith",        "KAZ",      "Y",         0,       1,       0   },
    {"John Smith",        "SRB",      "Y",         0,       1,       0   },
    {"John Smith",        "TOG",      "Y",         0,       1,       0   },
    {"John Smith",        "PLE",      "Y",         0,       1,       0   },
    {"John Smith",        "TKM",      "Y",         0,       1,       0   },
    {"John Smith",        "LIE",      "Y",         0,       1,       0   },
    {"John Smith",        "AFG",      "Y",         0,       1,       0   },
    {"John Smith",        "COD",      "Y",         0,       1,       0   },
    {"John Smith",        "SOL",      "Y",         0,       1,       0   },
    {"John Smith",        "TCA",      "Y",         0,       1,       0   },
    {"John Smith",        "THA",      "Y",         0,       1,       0   },
    {"John Smith",        "MTN",      "Y",         0,       1,       0   },
    {"John Smith",        "ZIM",      "Y",         0,       1,       0   },
    {"John Smith",        "KVX",      "Y",         0,       1,       0   },
    {"John Smith",        "MWI",      "Y",         0,       1,       0   },
    {"John Smith",        "GUA",      "Y",         0,       1,       0   },
    {"John Smith",        "SLV",      "Y",         0,       1,       0   },
    {"John Smith",        "MSR",      "Y",         0,       1,       0   },
    {"John Smith",        "PAR",      "Y",         0,       1,       0   },
    {"John Smith",        "KGZ",      "Y",         0,       1,       0   },
    {"John Smith",        "COL",      "Y",         0,       1,       0   },
    {"John Smith",        "GAM",      "Y",         0,       1,       0   },
    {"John Smith",        "DEN",      "Y",         0,       1,       0   },
    {"John Smith",        "AIA",      "Y",         0,       1,       0   },
    {"John Smith",        "CHN",      "Y",         0,       1,       0   },
    {"John Smith",        "GAB",      "Y",         0,       1,       0   },
    {"John Smith",        "TRI",      "Y",         0,       1,       0   },
    {"John Smith",        "MKD",      "Y",         0,       1,       0   },
    {"John Smith",        "IND",      "Y",         0,       1,       0   },
    {"John Smith",        "FRO",      "Y",         0,       1,       0   },
    {"John Smith",        "SUR",      "Y",         0,       1,       0   },
    {"John Smith",        "BHU",      "Y",         0,       1,       0   },
    {"John Smith",        "MNG",      "Y",         0,       1,       0   },
    {"John Smith",        "MEX",      "Y",         0,       1,       0   },
    {"John Smith",        "GUM",      "Y",         0,       1,       0   },
    {"John Smith",        "BFA",      "Y",         0,       1,       0   },
    {"John Smith",        "TAN",      "Y",         0,       1,       0   },
    {"John Smith",        "SEY",      "Y",         0,       1,       0   },
    {"John Smith",        "FIN",      "Y",         0,       1,       0   },
    {"John Smith",        "BOL",      "Y",         0,       1,       0   },
    {"John Smith",        "TGA",      "Y",         0,       1,       0   },
    {"John Smith",        "SWE",      "Y",         0,       1,       0   },
    {"John Smith",        "DMA",      "Y",         0,       1,       0   },
    {"John Smith",        "BRB",      "Y",         0,       1,       0   },
    {"John Smith",        "ETH",      "Y",         0,       1,       0   },
    {"John Smith",        "POL",      "Y",         0,       1,       0   },
    {"John Smith",        "SAM",      "Y",         0,       1,       0   },
    {"John Smith",        "LTU",      "Y",         0,       1,       0   },
    {"John Smith",        "DOM",      "Y",         0,       1,       0   },
    {"John Smith",        "PRK",      "Y",         0,       1,       0   },
    {"John Smith",        "JOR",      "Y",         0,       1,       0   },
    {"John Smith",        "FIJ",      "Y",         0,       1,       0   },
    {"John Smith",        "ANG",      "Y",         0,       1,       0   },
    {"John Smith",        "VIN",      "Y",         0,       1,       0   },
    {"John Smith",        "UKR",      "Y",         0,       1,       0   },
    {"John Smith",        "EST",      "Y",         0,       1,       0   },
    {"John Smith",        "AZE",      "Y",         0,       1,       0   },
    {"John Smith",        "ASA",      "Y",         0,       1,       0   },
    {"John Smith",        "LCA",      "Y",         0,       1,       0   },
    {"John Smith",        "SRI",      "Y",         0,       1,       0   },
    {"John Smith",        "CRC",      "Y",         0,       1,       0   },
    {"John Smith",        "GRN",      "Y",         0,       1,       0   },
    {"John Smith",        "MRI",      "Y",         0,       1,       0   },
    {"John Smith",        "BIH",      "Y",         0,       1,       0   },
    {"John Smith",        "SVK",      "Y",         0,       1,       0   },
    {"John Smith",        "ITA",      "Y",         0,       1,       0   },
    {"John Smith",        "MAC",      "Y",         0,       1,       0   },
    {"John Smith",        "SOM",      "Y",         0,       1,       0   },
    {"John Smith",        "BRU",      "Y",         0,       1,       0   },
    {"John Smith",        "BLR",      "Y",         0,       1,       0   },
    {"John Smith",        "KOR",      "Y",         0,       1,       0   },
    {"John Smith",        "BLZ",      "Y",         0,       1,       0   },
    {"John Smith",        "GRE",      "Y",         0,       1,       0   },
    {"John Smith",        "EGY",      "Y",         0,       1,       0   },
    {"John Smith",        "POR",      "Y",         0,       1,       0   },
    {"John Smith",        "RSA",      "Y",         0,       1,       0   },
    {"John Smith",        "LBR",      "Y",         0,       1,       0   },
    {"John Smith",        "LBY",      "Y",         0,       1,       0   },
    {"John Smith",        "RUS",      "Y",         0,       1,       0   },
    {"John Smith",        "BHR",      "Y",         0,       1,       0   },
    {"John Smith",        "PNG",      "Y",         0,       1,       0   },
    {"John Smith",        "NGA",      "Y",         0,       1,       0   },
    {"John Smith",        "ATG",      "Y",         0,       1,       0   },
    {"John Smith",        "TUN",      "Y",         0,       1,       0   },
    {"John Smith",        "GUI",      "Y",         0,       1,       0   },
    {"John Smith",        "NIG",      "Y",         0,       1,       0   },
    {"John Smith",        "GUY",      "Y",         0,       1,       0   },
    {"John Smith",        "MLI",      "Y",         0,       1,       0   },
    {"John Smith",        "EQG",      "Y",         0,       1,       0   },
    {"John Smith",        "MAS",      "Y",         0,       1,       0   },
    {"John Smith",        "YEM",      "Y",         0,       1,       0   },
    {"John Smith",        "JAM",      "Y",         0,       1,       0   },
    {"John Smith",        "TLS",      "Y",         0,       1,       0   },
    {"John Smith",        "TUR",      "Y",         0,       1,       0   },
    {"John Smith",        "ECU",      "Y",         0,       1,       0   },
    {"John Smith",        "SCO",      "Y",         0,       1,       0   },
    {"John Smith",        "MYA",      "Y",         0,       1,       0   },
    {"Aung San Suu Kyi",        "MYA",      "Y",         0,       1,       0   },
    {"John Smith",        "ISR",      "Y",         0,       1,       0   },

	-- top goalscorers from play-offs

    {"Zlatan Ibrahimović",     "SWE",        "G",         2,    8,          3   },
    {"Jonathan Walters", "IRL", "D",         0,    3,          2   },
    {"Andriy Yarmolenko",      "UKR",       "C",         0,    4,          2   },

    -- note: needed to remove accents from Muller and Ibrahimovic
}
data.owngoalscorers = {
    {"Jonathan Walters", "IRL", "D",         0,    {1,"Spain"},          0   },
}

return data