Template:Userbox/Edits: Difference between revisions
From IdleOn MMO Wiki
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <includeonly><!-- | ||
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 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.}} | ||
}}<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]