Template:Userpage stats: Difference between revisions

Template page
(Created page with "<includeonly><!-- Get data from API -->{{#get_web_data: url={{SERVER}}/api.php?action=query&format=json&list=usercontribs%7Cusers&uclimit=1&ucuser={{ROOTPAGENAME}}&ucnamespace=0&ucprop=timestamp&usprop=editcount%7Cregistration&ususers={{ROOTPAGENAME}} |format=JSON |data=<!-- Edit count -->editcount=editcount,<!-- Registration time -->registrationtime=registration,<!-- Last edit time -->lastedittime=timestamp |cache seconds=60 }}<!-- Actual template starts here --><div...")
 
No edit summary
 
Line 35: Line 35:
</div><!--
</div><!--
Templatestyles
Templatestyles
--><templatestyles src="Template:Userpage stats/styles.css"/></includeonly><!--
--><templatestyles src="Template:Userpage stats/styles.css"/></includeonly>
Documentation
<noinclude>
--><noinclude>{{/doc}}</noinclude>
{{/doc}}
</noinclude>

Latest revision as of 22:06, 17 January 2023


This template is used to generate user stats on a user page.

It will only work when it is put on an user page (e.g. User:Citizen404).

Usage

{{userpage stats}}