Difference between revisions of "Template:Check views"

From blackwiki
Jump to navigation Jump to search
imported>MusikAnimal
(now using /pageviews instead of /musikanimal/pageviews)
imported>MusikAnimal
(now uses query string instead of fragment identifier, also use latest-20 range instead of hard coding it)
 
Line 1: Line 1:
<small>([//tools.wmflabs.org/pageviews#start={{#time: Y-m-d | {{{year|{{{2|{{CURRENTYEAR}}}}}}}}{{{month|{{{3|{{CURRENTMONTH}}}}}}}}{{CURRENTDAY2}} - 20 days }}&end={{#time: Y-m-d | {{{year|{{{2|{{CURRENTYEAR}}}}}}}}{{{month|{{{3|{{CURRENTMONTH}}}}}}}}{{CURRENTDAY2}} }}&pages={{FULLPAGENAMEE:{{{article|{{{1|Main Page}}}}}}}}&project=en.wikipedia.org check views])</small><noinclude>{{Documentation}}
+
<small>([//tools.wmflabs.org/pageviews?range=latest-20&pages={{FULLPAGENAMEE:{{{article|{{{1|Main Page}}}}}}}}&project=en.wikipedia.org check views])</small><noinclude>{{Documentation}}
 
[[Category:External link templates]]</noinclude>
 
[[Category:External link templates]]</noinclude>

Latest revision as of 03:37, 20 June 2016

(check views)

Template documentation[view] [edit] [history] [purge]

Usage

This template creates a link to toollabs:pageviews to check the page views of a given article in a given month and year.

Parameters

There are also aliases for the unnamed parameters:

Examples

{{Check views|Coruche wine|2010|05}} and

{{Check views
  | article = Coruche wine
  | year    = 2010
  | month   = 05
}}

both generate (check views)

See also