Difference between revisions of "Template:FA number/doc"

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 11 interwiki links, now provided by Wikidata on d:Q6518195)
imported>WOSlinker
(code)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
This template returns the number of featured articles as recorded at [[Wikipedia:Featured articles]]. The count at [[Wikipedia:Featured articles]] is scrupulously updated and due to chronic server issues it is in general more accurate than <tt><nowiki>{{PAGESINCATEGORY:Featured articles}}</nowiki></tt>.
+
This template returns the number of featured articles as recorded at [[Wikipedia:Featured articles]]. The count at [[Wikipedia:Featured articles]] is scrupulously updated and due to chronic server issues it is in general more accurate than <code><nowiki>{{PAGESINCATEGORY:Featured articles}}</nowiki></code>.
  
 
=== Usage ===
 
=== Usage ===
* <tt><nowiki>{{FA number}}</nowiki></tt> = {{FA number}}
+
* <code><nowiki>{{FA number}}</nowiki></code> = {{FA number}}
  
 
=== Method for verifying accuracy ===
 
=== Method for verifying accuracy ===

Revision as of 18:43, 22 December 2017

This template returns the number of featured articles as recorded at Wikipedia:Featured articles. The count at Wikipedia:Featured articles is scrupulously updated and due to chronic server issues it is in general more accurate than {{PAGESINCATEGORY:Featured articles}}.

Usage

  • {{FA number}} = {{Wikipedia:Featured articles}}

Method for verifying accuracy

Logged-in users can use the MediaWiki API to verify the featured article count. Go to [1], type

javascript:alert(document.getElementsByTagName("cm").length)

into your browser's address bar, and press enter.