Difference between revisions of "Template:Check views/doc"
Jump to navigation
Jump to search
imported>Gyrobo (→Examples: Updated location) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (7 intermediate revisions by 7 users not shown) | |||
| Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
| − | This template creates a link to check the page views of a given article in a given month and year. | + | This template creates a link to [[toollabs:pageviews]] to check the page views of a given article in a given month and year. |
=== 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=== | ||
| Line 22: | Line 22: | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
both generate {{Check views|Coruche wine|2010|05}} | both generate {{Check views|Coruche wine|2010|05}} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|Alwpv}} | ||
| + | * {{tl|Link article stats}} | ||
| + | |||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
| + | [[Category:Wikipedia pageviews]] | ||
| + | }}</includeonly> | ||
Latest revision as of 01:53, 24 April 2020
| 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 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}}