Difference between revisions of "Template:Link article stats"
Jump to navigation
Jump to search
Template documentation
imported>Fixuture (+Category:Wikipedia pageviews: new category) |
imported>Retro (Converting to a more regular template documentation format.) |
||
| Line 1: | Line 1: | ||
| − | < | + | '''{{{1}}}''' {{{numtext|per day}}}: [[{{{2}}}]] <sup>([[Special:Search/{{{2}}}|search]] | [[google:"{{{3|{{{2}}}}}}"|google]] | [http://stats.grok.se/en/{{{year|2008}}}/{{anchorencode:{{{2}}}}} grok.se-{{{year|2008}}}]| [http://stats.grok.se/en/{{{yearmon|200901}}}/{{anchorencode:{{{2}}}}} grok.se-{{{yearmon|200901}}}]{{{4|}}})</sup>{{#ifeq:{{{2|<includeonly>xx</includeonly>}}}|xx|<br>TheArticleNameis2ndParameter}}<noinclude> |
| − | + | {{Documentation|content= | |
| − | + | This template displays a count number, with a linked article name, plus a linked wiki-search, and linked statistics webpages. The effective coding generates a one-line entry with embedded links. | |
| − | |||
| − | |||
| − | {| | ||
| − | |||
| − | |||
| − | + | *'''Format''': {{tlc|Link article stats|''num''|''label''|''text''|year{{=}}2008|yearmon{{=}}200901|numtext{{=}}per day}} | |
| − | + | **where, | |
| − | + | ***''num'' - is a number, | |
| − | + | ***''label'' - is the visible label of the article name | |
| − | + | ***''text'' - is the text used for searching/linking | |
| − | + | ***year=2008 - year number for the first link to stats.grot.se | |
| − | + | ***yearmon=200901 - year-month number for 2nd link to stats.grot.se | |
| − | + | ***numtext=xxx - text after the number (default: per day) | |
| − | |||
| − | + | The first 3 parameters are required, but "year" & "yearmon" & "numtext" are optional. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | This template is intended for use when listing article names along with a link for wiki-search, plus links for readership stats. This template was created to auto-link article name with stats pages. | |
<!-- | <!-- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
-- | -- | ||
-- NOTE D2: Coding can rarely be indented, but not "{{" so | -- NOTE D2: Coding can rarely be indented, but not "{{" so | ||
| Line 45: | Line 27: | ||
-- | -- | ||
--HISTORY: | --HISTORY: | ||
| − | -- 19Jan09 | + | -- 19Jan09 |
--> | --> | ||
| − | |||
[[Category:Wikipedia pageviews]] | [[Category:Wikipedia pageviews]] | ||
| − | </noinclude> | + | }}</noinclude> |
Latest revision as of 01:55, 20 June 2019
{{{1}}} per day: [[{{{2}}}]] ([[Special:Search/{{{2}}}|search]] | [[google:"{{{2}}}"|google]] | grok.se-2008| grok.se-200901)
This template displays a count number, with a linked article name, plus a linked wiki-search, and linked statistics webpages. The effective coding generates a one-line entry with embedded links.
- Format:
{{Link article stats|num|label|text|year=2008|yearmon=200901|numtext=per day}}- where,
- num - is a number,
- label - is the visible label of the article name
- text - is the text used for searching/linking
- year=2008 - year number for the first link to stats.grot.se
- yearmon=200901 - year-month number for 2nd link to stats.grot.se
- numtext=xxx - text after the number (default: per day)
- where,
The first 3 parameters are required, but "year" & "yearmon" & "numtext" are optional.
This template is intended for use when listing article names along with a link for wiki-search, plus links for readership stats. This template was created to auto-link article name with stats pages.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |