الگو:Stats.grok.se
ظاهر
Usage[ویرایش]
All parameters are optional. Parameters that can be passed are:
- The page name for which to show visitor traffic (no parameter name is associated with this parameter)
- year - The year for which to show traffic data (e.g. 2007). If no
month
is specified then the template will link to data for the entire year. - month - The month to be shown (as a number e.g. 1 for January, 12 for December). If no
year
is specified then the template will link to traffic data for the most recent occurrence of that month (either current year or prior year). - lang - The two-letter ISO language code for an international Wikipedia project (e.g. de for German, fr for French). The template will use this data to link to traffic data for other Wikipedia projects.
- text - Custom text to be used as the link. If this parameter is specified then only this text will be used, and the template will not generate any automated text or date reference.
Examples:
Code | Result |
---|---|
Page to show | |
{{stats.grok.se}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»/%D8%A7%D9%84%DA%AF%D9%88:Stats.grok.se See visitor traffic to this page last month. |
{{stats.grok.se | Statistics}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»/Statistics See visitor traffic to Statistics last month. |
{{stats.grok.se | Talk:Statistics}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»/%D8%A8%D8%AD%D8%AB:Statistics See visitor traffic to Talk:Statistics last month. |
Date range | |
{{stats.grok.se | year=2008}}
|
See visitor traffic to this page during 2008. |
{{stats.grok.se | month=2}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»02/%D8%A7%D9%84%DA%AF%D9%88:Stats.grok.se See visitor traffic to this page during فوریه. |
{{stats.grok.se | Statistics | month=10}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»10/Statistics See visitor traffic to Statistics during اکتبر. |
{{stats.grok.se | Statistics | year=2008 | month=6}}
|
See visitor traffic to Statistics during ژوئن 2008. |
International Wikipedia | |
{{stats.grok.se | Statistik | lang=de}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»/Statistik See visitor traffic to Statistik last month on the آلمانی -language Wikipedia. |
{{stats.grok.se | Tilastotiede | year=2008 | lang=fi}}
|
See visitor traffic to Tilastotiede during 2008 on the فنلاندی-language Wikipedia. |
{{stats.grok.se | Statistics | lang=en}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»/Statistics See visitor traffic to Statistics last month on the انگلیسی-language Wikipedia. |
Custom link text | |
{{stats.grok.se | Statistics | text=Custom text}}
|
خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»/Statistics Custom text |
Combining {{stats.grok.se | Statistics | year=2008 | text=the template}} with inline text..
|
Combining the template with inline text. |
The template also accepts an optional plainlinks parameter. Passing true
as the value of plainlinks
will remove the external link icon from the output:
- Code:
{{stats.grok.se | Talk:Statistics | plainlinks=true}}
- Result: خطای عبارت: نویسه نقطهگذاری شناخته نشده «۰»/%D8%A8%D8%AD%D8%AB:Statistics See visitor traffic to Talk:Statistics last month.
See also[ویرایش]
- الگو:Graph:PageViews - similar graphical plots based on Wikimedia's internal graphing capability
- Wikipedia article traffic statistics from http://stats.grok.se