Template:User points: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 33: | Line 33: | ||
-->{{#vardefine:contributorpoints |{{#expr: {{#var:contributorcounts}}*5}}}}<!-- | -->{{#vardefine:contributorpoints |{{#expr: {{#var:contributorcounts}}*5}}}}<!-- | ||
-->{{#ifeq: {{#var: finalpoints}} < 2000 |<div class="userpoints white">}}<div style ="color:#fff; text-align: center;">'''{{BASEPAGENAME}}: User Level'''</div></div> | -->{{#ifeq: {{#var: finalpoints}}| < 2000 |<div class="userpoints white">}}<div style ="color:#fff; text-align: center;">'''{{BASEPAGENAME}}: User Level'''</div></div> | ||
{{#vardefine:finalpoints|{{#expr: {{#var: creationpoints}} + {{#var: editpoints}} + {{#var: contributorpoints}} }}}} | {{#vardefine:finalpoints|{{#expr: {{#var: creationpoints}} + {{#var: editpoints}} + {{#var: contributorpoints}} }}}} | ||
<div style="margin-left: 50%; margin-right: 50%; text-align: center;">'''''{{#var: finalpoints}}''''' ''points''</div> | <div style="margin-left: 50%; margin-right: 50%; text-align: center;">'''''{{#var: finalpoints}}''''' ''points''</div> | ||
Revision as of 12:01, 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. points
Expression error: Unexpected < operator. 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.