Template:Userbox/Edits: Difference between revisions
From IdleOn MMO Wiki
(Created page with "<includeonly><!-- This template displays the edit count of the user specified in the {{{user}}} parameter. If the parameter is not set, it gets the user from the page name (in the User namespace only). -->{{#vardefine:detectedUser|{{#ifeq:{{NAMESPACENUMBER}}|2|{{ROOTPAGENAME}}}}}}<!-- -->{{#vardefine:user|{{{user|{{#var:detectedUser}}}}}}}<!-- -->{{#vardefine:editcount|{{#ifexist:User:{{#var:user}}|{{Special:Editcount/{{#var:user}}}}}}}}<!-- -->{{#if:{{#var:editcount}}|...") |
No edit summary |
||
Line 1: | Line 1: | ||
<!-- | |||
This template displays the edit count of the user specified in the {{{user}}} parameter. | This template displays the edit count of the user specified in the {{{user}}} parameter. | ||
If the parameter is not set, it gets the user from the page name (in the User namespace only). | If the parameter is not set, it gets the user from the page name (in the User namespace only). | ||
Line 16: | Line 16: | ||
}} | }} | ||
|{{TError|A valid user must be specified outside of the User namespace.}} | |{{TError|A valid user must be specified outside of the User namespace.}} | ||
}} | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 13:07, 6 February 2023
File:Test Template Info-Icon - Version (2).svg Template documentation[create]