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

From blackwiki
Jump to navigation Jump to search
imported>Dispenser
(→‎See also: add links)
imported>SD5bot
m (BOT: replacing template(s) per discussion about misleading template name)
Line 5: Line 5:
  
 
=== Parameters ===
 
=== Parameters ===
*<code>{{{1}}}</code>{{ndash}}Article title. If omitted, the Main Page is used.
+
*<code>{{{1}}}</code>{{spaced ndash}}Article title. If omitted, the Main Page is used.
*<code>{{{2}}}</code>{{ndash}}Year (YYYY). If omitted, the current year is used.
+
*<code>{{{2}}}</code>{{spaced ndash}}Year (YYYY). If omitted, the current year is used.
*<code>{{{3}}}</code>{{ndash}}Month (MM), with leading zero. If omitted, the current month is used.
+
*<code>{{{3}}}</code>{{spaced ndash}}Month (MM), with leading zero. If omitted, the current month is used.
  
 
There are also aliases for the unnamed parameters:
 
There are also aliases for the unnamed parameters:
*<code>{{{article}}}</code>{{ndash}}Alias for unnamed parameter 1.
+
*<code>{{{article}}}</code>{{spaced ndash}}Alias for unnamed parameter 1.
*<code>{{{year}}}</code>{{ndash}}Alias for unnamed parameter 2.
+
*<code>{{{year}}}</code>{{spaced ndash}}Alias for unnamed parameter 2.
*<code>{{{month}}}</code>{{ndash}}Alias for unnamed parameter 3.
+
*<code>{{{month}}}</code>{{spaced ndash}}Alias for unnamed parameter 3.
  
 
===Examples===
 
===Examples===

Revision as of 23:16, 2 April 2012

Usage

This template creates a link 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