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 |
||
(6 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
|id = {{#var:editcount}} | |id = {{#var:editcount}} | ||
|info = {{#ifeq:{{#var:user}}|{{#var:detectedUser}}|This user|[[User:{{#var:user}}|{{#var:user}}]]}} has ''' | |info = {{#ifeq:{{#var:user}}|{{#var:detectedUser}}|This user|[[User:{{#var:user}}|{{#var:user}}]]}} has '''<includeonly><span style="color:#ff0000>{{#var:editcount}}</span></includeonly>''' edits. | ||
}} | }} | ||
|{{TError|A valid user must be specified outside of the User namespace.}} | |{{TError|A valid user must be specified outside of the User namespace.}} | ||
}}</includeonly><noinclude> | }} | ||
</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:28, 6 February 2023
edits. }} |Template:TError }} </includeonly>
File:Test Template Info-Icon - Version (2).svg Template documentation[create]