Difference between revisions of "Template:User stats"

From Hidden Palace
Jump to: navigation, search
(Add releases)
(Testing)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:article_count|{{#ask:[[Page creator::User:{{{1}}}]]|format=count}}}}
+
<includeonly>{{#vardefine:article_count|{{#ask:[[Page creator::User:{{{1}}}]]|format=count}}}} {{#vardefine:edit_count|{{#ask:[[User:{{{1}}}]]|?User edit count#-=|format=list|mainlabel=-}}}} {{#vardefine:release_count|{{#ask:[[Was released by::{{{1}}}]]|format=count}}}}
{{#vardefine:edit_count|{{#ask:[[User:{{{1}}}]]|?User edit count#-=|format=list|mainlabel=-}}}}
+
{{#vardefine:release_count|{{#ask:[[Was released by::{{{1}}}]]|format=count}}}}
+
 
{{#if: {{#var:edit_count}} | {{{1}}} has contributed {{#var:edit_count}} edits and {{#var:article_count}} articles. |}}
 
{{#if: {{#var:edit_count}} | {{{1}}} has contributed {{#var:edit_count}} edits and {{#var:article_count}} articles. |}}
  
{{#if: {{#var:release_count}} |
+
{{#ifexpr: {{#var:release_count}} > 0 |
 
== Prototypes ==
 
== Prototypes ==
 +
{{{1}}} has released {{#var:release_count}} prototypes.
 
{{#ask:
 
{{#ask:
 
  [[Was released by::{{{1}}}]]  
 
  [[Was released by::{{{1}}}]]  
Line 11: Line 10:
 
  |?Has system=System
 
  |?Has system=System
 
  |limit=1000
 
  |limit=1000
|sort=Has build date
 
 
}}
 
}}
 
|}}
 
|}}

Latest revision as of 17:35, September 29, 2016