Difference between revisions of "Template:Check views/doc"
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
| 40px | This is a documentation subpage for Template:Check views. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
This template creates a link 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
- {{Stats.grok.se}}
- {{Hits}}
- {{Link article stats}}