Difference between revisions of "Template:Check views"
Jump to navigation
Jump to search
imported>Gyrobo (+category) |
imported>MusikAnimal (update to use toollabs:musikanimal/pageviews) |
||
| Line 1: | Line 1: | ||
| − | <small>([ | + | <small>([//tools.wmflabs.org/musikanimal/pageviews#start={{#time: Y-m-d | {{{year|{{{2|{{CURRENTYEAR}}}}}}}}{{{month|{{{3|{{CURRENTMONTH}}}}}}}}01 - 20 days }}&end={{#time: Y-m-d | {{{year|{{{2|{{CURRENTYEAR}}}}}}}}{{{month|{{{3|{{CURRENTMONTH}}}}}}}}01 }}&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> | ||
Revision as of 03:28, 6 February 2016
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Contents
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
{{{1}}}Template:Spaced ndashArticle title. If omitted, the Main Page is used.{{{2}}}Template:Spaced ndashYear (YYYY). If omitted, the current year is used.{{{3}}}Template:Spaced ndashMonth (MM), with leading zero. If omitted, the current month is used.
There are also aliases for the unnamed parameters:
{{{article}}}Template:Spaced ndashAlias for unnamed parameter 1.{{{year}}}Template:Spaced ndashAlias for unnamed parameter 2.{{{month}}}Template:Spaced ndashAlias for unnamed parameter 3.
Examples
{{Check views|Coruche wine|2010|05}} and
{{Check views
| article = Coruche wine
| year = 2010
| month = 05
}}
both generate (check views)
See also
- {{Alwpv}}
- {{Link article stats}}
| The above documentation is transcluded from Template:Check views/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |