Jump to content

Template:Wikiversity statistics

From Wikiversity

{{subst:#ifexpr:{{subst:CURRENTTIMESTAMP}}-{{{1}}}>000000200| {{subst:pipe}}- {{subst:pipe}}2024-Nov-04, 22:35 (UTC) {{subst:pipe}}2,991,147 {{subst:pipe}}233,108 {{subst:pipe}}34,874 {{subst:pipe}}39,448 {{subst:pipe}}11 {{subst:pipe}}1.44.0-wmf.1 (fbc8c4f) {{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.