شابلون:FIFA World Rankings/بلگه
بو شابلون:FIFA World Rankings اوچون بیرسندلشدیرمه آلتصفحهدیر. بو، اوریجینال شابلون صفحهسینین بیر حیصهسی دئییل و تکجه نئجه ایستیفاده ائتمک معلوماتلاری، بؤلمهلری و باشقا مضمونو ایحطیوا ائدیر. |
بو شابلوندا لوآ ایستیفاده اولونور: |
Usage
دَییشدیرThis template ({{FIFA World Rankings}}) is meant to help quickly update the فیفا دونیا رئیتینقی for all 211 men's national teams of FIFA, displayed in the infobox on each national team article. When given a country code, the template outputs the FIFA World Ranking of a country, along with a movement indicator (increase, decrease, or steady), and by how many spots a country moves, if applicable. The date of the rankings is also listed, along with a reference to the rankings from FIFA's website.
If desired, the FIFA ranking reference can be used elsewhere in the article using the name "FIFA World Rankings" (i.e. <ref name="FIFA World Rankings"/>
).
Parameters
دَییشدیر1
(unnamed): FIFA country codemdy
: Switches dates to month-day-year format
Example
دَییشدیرAn example of the code used to display the ranking of Gibraltar:
{{FIFA World Rankings|GIB}}
This code produces the following:
203 (31 March 2022)[۱]
- ^ The FIFA/Coca-Cola World Ranking (31 March 2022).
The template can be tested at the sandbox page, Template:FIFA World Rankings/sandbox.
Updating
دَییشدیرThe main template page is not meant to be updated. The rankings should be updated at ماژول:SportsRankings/data/FIFA World Rankings.
To update the rankings:
- On line 14, add the day and month (along with the year if necessary) of the current rankings
- On line 15, add the day and month (along with the year if necessary) of the previous rankings
- Between line 20 and 230, paste in the code for the new rankings (see generating code section)
and save. Once the cache of a national team page is purged, the updated ranking will be displayed.
ریتینق کودونون یارادیلماسی
دَییشدیرAll positions can be quickly updated using a spreadsheet. For example, after copying the entire ranking list (211 rows from all five pages, unedited) from FIFA's ranking list, the following formula can be used in an external spreadsheet to generate the code necessary to update the data page (given the FIFA rankings begin in cell A1):
=" { """&B2&""", "&A1&", "&E1&", "&C1&" },"
If unnecessary lines are included, then paste the text into a site to remove lines with the string , , ,
.
See also
دَییشدیر- Template:FIFA Women's World Rankings (ماژول:SportsRankings/data/FIFA Women's World Rankings)
- شابلون:World Football Elo Ratings (ماژول:SportsRankings/data/World Football Elo Ratings)