Jump to content

Template:Wikiversity statistics

From Wikiversity

{{subst:#ifexpr:{{subst:CURRENTTIMESTAMP}}-{{{1}}}>000000200| {{subst:pipe}}- {{subst:pipe}}2024-Dec-22, 19:47 (UTC) {{subst:pipe}}2,993,218 {{subst:pipe}}236,211 {{subst:pipe}}36,943 {{subst:pipe}}39,871 {{subst:pipe}}11 {{subst:pipe}}1.44.0-wmf.8 (f08e6b3) {{subst:subst}}wikiversity statistics{{subst:pipe}}{{subst:CURRENTTIMESTAMP}}{{subst:rb}}|{{subst:subst}}wikiversity statistics{{subst:pipe}}{{{1}}}{{subst:rb}}}}

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

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.