Template:Side box: Difference between revisions
No edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{ | ||
|text = {{{ | |text = | ||
|style = {{{style}}} | <div style="padding: 5px; background-color: #063; color: #fff;">'''User Level'''</div> | ||
| | {{BASEPAGENAME}}<br> | ||
| | {{#vardefine:finalpoints|{{#expr: {{#var: creationpoints}} + {{#var: editpoints}} + {{#var: contributorpoints}} }}}} | ||
|style ={{{style}} | '''''{{#var: finalpoints}}''''' ''points''<br> | ||
{{#ifexpr: {{#var: finalpoints}} < 25 | <span style="color: #066;">'''1st level'''</span> [[File:Status-1st-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 100 | <span style="color: #d4640e;">'''2nd level'''</span> [[File:Status-2nd-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 250 | <span style="color: #a68134;">'''3rd level'''</span> [[File:Status-3rd-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 500 | <span style="color: #5f6669;">'''4th level'''</span> [[File:Status-4th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 750 | <span style="color: #fbC90e;">'''5th level'''</span> [[File:Status-5th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 1000 | <span style="color: #a8acae;">'''6th level'''</span> [[File:Status-6th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 1250 | <span style="color: #0c3;">'''7th level'''</span> [[File:Status-7th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 1500 | <span style="color: #0c3;">'''8th level'''</span> [[File:Status-8th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 1750 | <span style="color: #0c3;">'''9th level'''</span> [[File:Status-9th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 2000 | <span style="color: #0c3;">'''10th level'''</span> [[File:Status-10th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 3000 | <span style="color: #0c3;">'''11th level'''</span> [[File:Status-11th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} < 4000 | <span style="color: #0c3;">'''12th level'''</span> [[File:Status-12th-level.png|link=]] | |||
|{{#ifexpr: {{#var: finalpoints}} > 5000 | <span style="color: #0c3;">''13th level'''</span> [[File:Status-13th-level.png|link=]] | |||
|You have 0 points. | |||
}} | }} | ||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
}} | |||
|style= border: 1px solid #063; margin-bottom:1%; background-color: #fafafa; text-align: center; font-size: 14px; | |||
|below= {{Hidden | |||
|''How points are earned'' | |||
| | |||
*''5 points for every page creation'' | |||
*''1 point for every 10 page edits'' | |||
*''5 points for each additional user who contributes to a page you created'' | |||
|headerstyle= background-color:#fff; font-size: 12px; color: #333 | |||
|style= font-size: 10px; width: 30em; color: #063 | |||
}}}} | |||
{{#set:User points={{#var: finalpoints}} }} | |||
Latest revision as of 01:31, 27 January 2021
{{ |text =
Side box
Expression error: Missing operand for +. points
{{#ifexpr: Expression error: Missing operand for +. < 25 | 1st level File:Status-1st-level.png
|{{#ifexpr: Expression error: Missing operand for +. < 100 | 2nd level File:Status-2nd-level.png
|{{#ifexpr: Expression error: Missing operand for +. < 250 | 3rd level File:Status-3rd-level.png
|{{#ifexpr: Expression error: Missing operand for +. < 500 | 4th level File:Status-4th-level.png
|{{#ifexpr: Expression error: Missing operand for +. < 750 | 5th level File:Status-5th-level.png
|Expression error: Unexpected < operator.
Property "User points" (as page type) with input value "Expression error: Missing operand for +." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.