Template:User points: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
     |{{#ifeq: @@@|User:{{BASEPAGENAME}}||{{#vardefine:contributorcounts| {{#expr:{{#var:contributorcounts}}+1}} }} }}
     |{{#ifeq: @@@|User:{{BASEPAGENAME}}||{{#vardefine:contributorcounts| {{#expr:{{#var:contributorcounts}}+1}} }} }}
     ||}}<!--
     ||}}<!--
   
// old counter (doesnt work in MW1.35)
// old counter (doesnt work in MW1.35)
{{#vardefine:contributorcounts|{{#ask:[[Page creator::User:{{BASEPAGENAME}}]] [[Page author::!User:{{BASEPAGENAME}}]]  
{{#vardefine:contributorcounts|{{#ask:[[Page creator::User:{{BASEPAGENAME}}]] [[Page author::!User:{{BASEPAGENAME}}]]  
Line 28: Line 27:
|limit=999
|limit=999
}}}}
}}}}
-->{{#vardefine:creationpoints |{{#expr: {{#var: pagecreations}} * 20}}}}<!--
-->{{#vardefine:creationpoints |{{#expr: {{#var: pagecreations}} * 20}}}}<!--
-->{{#vardefine:editpoints |{{#expr: trunc {{#var: pageedits}} * 5}}}}<!--
-->{{#vardefine:editpoints |{{#expr: trunc {{#var: pageedits}} * 5}}}}<!--

Revision as of 22:17, 16 February 2021

Template documentation
This documentation is transcluded from Template:User points/doc. [edit] [purge]
This article is about User Point Template. For The Wiki Point System, see Wiki Point System.

The Userpoints Template adds a very detailed bar on the user's page with their current wiki point score. It also connects directly with the leaderboards.

{{User points
|User=(Defaults to {{BASEPAGENAME}} - should be used on user page_
|Hide footer=( optional: yes )
}}


User points - User Level: Expression error: Unexpected < operator. (Expression error: Unexpected < operator. Wiki Points)
To force an update, click here

Property "User points" (as page type) with input value "Expression error: Unexpected < operator." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.