Template:維基計數

出自維基百科,自由嘅百科全書

{{subst:#ifexpr:{{subst:CURRENTTIMESTAMP}}-{{{1}}}>000000200| {{subst:pipe1}}- {{subst:pipe1}}2024-五月-02, 20:26 (UTC) {{subst:pipe1}}273,314 {{subst:pipe1}}313,696 {{subst:pipe1}}139,598 {{subst:pipe1}}2,802 {{subst:pipe1}}12 {{subst:pipe1}}1.43.0-wmf.3 (b671e57) {{subst:subst1}}維基計數{{subst:pipe1}}{{subst:CURRENTTIMESTAMP}}{{subst:rb1}}|{{subst:subst1}}維基計數{{subst:pipe1}}{{{1}}}{{subst:rb1}}}}

Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see meta:Help:Recursive conversion of wikitext.

notes[編輯]

this template generates a wikitable automatically and recursively. every time a page including the wikitext {{subst:wikiversity:statistics|{{subst:CURRENTTIMESTAMP}}}} is edited, it calls upon this template to check the time. if the set time has elapsed (at this moment it is set to 2 minutes) since the last update, it would generate a new row of data with the magic words CURRENTTIME, NUMBEROFUSERS, NUMBEROFARTICLES, CURRENTVERSION, etc.

For more information on and more examples of recursively converted templates, see m:help:recursive conversion and topic:templates.