Template:Count pages: Difference between revisions

m (1 revision)
 
m (1 revision)
 
(No difference)

Latest revision as of 20:33, 22 November 2012

0

[edit] [history] [purge] Documentation icon Template documentation

Usage

Meta template to count pages following a numerically incremental naming pattern, like archive pages. Can count up to 999, optimized to use at most 18 #ifexist checks, and somewhat optimized for typical page distributions (see Benford's law).

This template can be substituted.

Examples

  • {{Count pages|WP:Featured article candidates/Battle of Villers-Bocage/archive}} → 0
  • {{Count pages|User_talk:Amalthea/Archive }} → 0 Note the space after "Archive"!
  • {{Count pages|Pages that do not exist}} → 0
  • {{subst:Count pages|User_talk:Amalthea/Archive }} → 4
  • [[Wikipedia:Administrators' noticeboard/Archive{{Count pages|Wikipedia:Administrators' noticeboard/Archive}}]]Wikipedia:Administrators' noticeboard/Archive0

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis