Template:User stats: Difference between revisions
Jump to navigation
Jump to search
(Fix edit count) |
No edit summary |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{{1}}} | <includeonly>{{ | ||
#vardefine:article_count|{{#ask:[[Page creator::User:{{{1|{{PAGENAME}}}}}]]|format=count}} | |||
}}{{ | |||
#vardefine:edit_count|{{#show: User:{{{1|{{PAGENAME}}}}} |?User edit count|default=0|format=max}} | |||
}}{{ | |||
#vardefine:release_count|{{#ask:[[Was released by::{{{1|{{PAGENAME}}}}}]]|format=count}} | |||
}}{{#vardefine:dump_count|{{#ask:[[Was dumped by::{{{1|{{PAGENAME}}}}}]]|format=count}} | |||
}}{{ | |||
#ifexpr: {{#var:edit_count}} > 0 | {{{1|{{PAGENAME}}}}} 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 | | |||
== Prototypes == | |||
|}} | |||
{{#ifexpr: {{#var:release_count}} > 0 | | |||
{{{1|{{PAGENAME}}}}} has released {{plural|{{formatnum:{{#var:release_count}}}}|prototype}}. | |||
{{#ask: | |||
[[Was released by::{{{1|{{PAGENAME}}}}}]] | |||
|?Has build date=Date | |||
|?Has system=System | |||
|?Has file release date=File release date | |||
|?Creation date=Page creation date | |||
|limit=1000 | |||
}} | |||
|}} | |||
{{#ifexpr: {{#var:dump_count}} > 0 | | |||
{{{1|{{PAGENAME}}}}} has dumped {{plural|{{formatnum:{{#var:dump_count}}}}|prototype}}. | |||
{{#ask: | |||
[[Was dumped by::{{{1|{{PAGENAME}}}}}]] | |||
|?Has build date=Date | |||
|?Has system=System | |||
|?Has file release date=File release date | |||
|?Creation date=Page creation date | |||
|limit=1000 | |||
}} | |||
|}} | |||
{{#ifexpr: {{#var:edit_count}} > 0 | | |||
== Latest articles == | == Latest articles == | ||
{{#ask: | {{#ask: | ||
[[Page creator::User:{{{1}}}]] | [[Page creator::User:{{{1|{{PAGENAME}}}}}]] | ||
|format=ul | |format=ul | ||
|sort=Creation date | |sort=Creation date | ||
Line 13: | Line 52: | ||
== Latest edits == | == Latest edits == | ||
{{Special:Contributions/{{{1}}}|limit=20}} | {{Special:Contributions/{{{1|{{PAGENAME}}}}}|limit=20}} | ||
|}} | |||
</includeonly> |