Difference between revisions of "Template:FIH Women's World Rankings/doc"

From blackwiki
Jump to navigation Jump to search
imported>Neils51
m (→‎Updating: grammar/usage - 'points' is a countable noun)
imported>John of Reading
m (Typo fixing, replaced: quicky → quickly)
 
Line 3: Line 3:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
This template ({{tl|FIH Women's World Rankings}}) is meant to help quicky update the women's [[FIH World Rankings]], displayed in the infobox on each wommen's national team article. When given a country code, the template outputs the FIH 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 FIH's website.
+
This template ({{tl|FIH Women's World Rankings}}) is meant to help quickly update the women's [[FIH World Rankings]], displayed in the infobox on each wommen's national team article. When given a country code, the template outputs the FIH 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 FIH's website.
  
 
If desired, the FIH ranking reference can be used elsewhere in the article using the name "FIH World Rankings" (i.e. <code><nowiki><ref name="FIH World Rankings"/></nowiki></code>).
 
If desired, the FIH ranking reference can be used elsewhere in the article using the name "FIH World Rankings" (i.e. <code><nowiki><ref name="FIH World Rankings"/></nowiki></code>).
Line 17: Line 17:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:field hockey templates]]
+
[[Category:Field hockey templates]]
 
[[Category:Templates that generate named references]]
 
[[Category:Templates that generate named references]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 15:16, 5 April 2020

Usage

This template ({{FIH Women's World Rankings}}) is meant to help quickly update the women's FIH World Rankings, displayed in the infobox on each wommen's national team article. When given a country code, the template outputs the FIH 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 FIH's website.

If desired, the FIH ranking reference can be used elsewhere in the article using the name "FIH World Rankings" (i.e. <ref name="FIH World Rankings"/>).

Updating

The main template page is not meant to be updated. The rankings should be updated at Module:SportsRankings/data/FIH Women's World Rankings.

To update the rankings:

  1. On line 14, add the day and month (along with the year if necessary) of the current rankings
  2. On line 15, add the day and month (along with the year if necessary) of the previous rankings
  3. Update each country by setting the rank first then the change and after the third comma the number of points