Template:User stats: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Fix formatting) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:article_count|{{#ask:[[Page creator::User:{{{1}}}]]|format=count}}}} {{#vardefine:edit_count|{{# | <includeonly>{{ | ||
{{#vardefine:dump_count|{{#ask:[[Was dumped by::{{{1}}}]]|format=count}}}} | #vardefine:article_count|{{#ask:[[Page creator::User:{{{1}}}]]|format=count}} | ||
{{# | }}{{ | ||
#vardefine:edit_count|{{formatnum:{{#show: User:{{{1}}} |?User edit count|default=0}}|R}} | |||
}}{{ | |||
#vardefine:release_count|{{#ask:[[Was released by::{{{1}}}]]|format=count}} | |||
}}{{#vardefine:dump_count|{{#ask:[[Was dumped by::{{{1}}}]]|format=count}} | |||
}}{{ | |||
#ifexpr: {{#var:edit_count}} > 0 | {{{1}}} has contributed {{plural|{{formatnum:{{#var:edit_count}}}}|prototype}} edits and {{plural|{{formatnum:{{#var:article_count}}}}|prototype}} articles. | | |||
}} | |||
{{#ifexpr: {{#var:release_count}} > 0 or {{#var:dump_count}} > 0 | | {{#ifexpr: {{#var:release_count}} > 0 or {{#var:dump_count}} > 0 | | ||
Line 8: | Line 15: | ||
{{#ifexpr: {{#var:release_count}} > 0 | | {{#ifexpr: {{#var:release_count}} > 0 | | ||
{{{1}}} has released {{plural|{{#var:release_count}}|prototype}}. | {{{1}}} has released {{plural|{{formatnum:{{#var:release_count}}}}|prototype}}. | ||
{{#ask: | {{#ask: | ||
[[Was released by::{{{1}}}]] | [[Was released by::{{{1}}}]] | ||
Line 18: | Line 25: | ||
{{#ifexpr: {{#var:dump_count}} > 0 | | {{#ifexpr: {{#var:dump_count}} > 0 | | ||
{{{1}}} has dumped {{plural|{{#var:dump_count}}|prototype}}. | {{{1}}} has dumped {{plural|{{formatnum:{{#var:dump_count}}}}|prototype}}. | ||
{{#ask: | {{#ask: | ||
[[Was dumped by::{{{1}}}]] | [[Was dumped by::{{{1}}}]] | ||
Line 28: | Line 35: | ||
{{# | {{#ifexpr: {{#var:edit_count}} > 0 | | ||
== Latest articles == | == Latest articles == | ||
{{#ask: | {{#ask: |