Difference between revisions of "Template:Check views/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gyrobo
m (moved User:Gyrobo/Views this month/doc to Template:Check views/doc: Template was moved to template space.)
imported>Gyrobo
(→‎Examples: Updated location)
Line 15: Line 15:
  
 
===Examples===
 
===Examples===
{{tlx|User:Gyrobo/Views this month|Coruche wine|2010|05}} and
+
{{tlx|Check views|Coruche wine|2010|05}} and
<pre><nowiki>{{User:Gyrobo/Views this month
+
<pre><nowiki>{{Check views
 
   | article = Coruche wine
 
   | article = Coruche wine
 
   | year    = 2010
 
   | year    = 2010
 
   | month  = 05
 
   | month  = 05
 
}}</nowiki></pre>
 
}}</nowiki></pre>
both generate {{User:Gyrobo/Views this month|Coruche wine|2010|05}}
+
both generate {{Check views|Coruche wine|2010|05}}

Revision as of 15:41, 10 September 2011

Usage

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

Parameters

  • {{{1}}}Template:NdashArticle title. If omitted, the Main Page is used.
  • {{{2}}}Template:NdashYear (YYYY). If omitted, the current year is used.
  • {{{3}}}Template:NdashMonth (MM), with leading zero. If omitted, the current month is used.

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)