Difference between revisions of "Template:User Edits"

(Created page with '<noinclude>{{Template Overview |usedon=user |purpose=display the fact that a user has made over a certain number of edits on UOGuide |template=<nowiki>{{User Edits}}</nowiki> |di…')
 
m
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|info=This user has made over {{{edits}}} edits on UOGuide.
 
|info=This user has made over {{{edits}}} edits on UOGuide.
 
}}
 
}}
|category=Wiki
+
|category=User
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
Line 14: Line 14:
 
|takes=a number
 
|takes=a number
 
|denotes=the number of edits over which a user had made
 
|denotes=the number of edits over which a user had made
|generates=the number in the ID section and the number in the sentence in the info section
+
|generates=the number in the ID section, the number in the sentence in the info section, and the number in the category in which to place user pages that transclude the template
 
|validvalues=Any whole number.
 
|validvalues=Any whole number.
 +
}}
 +
{{Template Parameter
 +
|name=category
 +
|takes=the value "true"
 +
|denotes=that the page transcluding this template will be categorized
 +
|generates=the category, consisting of "Users With Over {{{edits}}} Edits," where {{{edits}}} is the value placed in the {{Monospace|edits}} parameter
 +
|validvalues="true"
 
}}</noinclude><includeonly>{{Userbox
 
}}</noinclude><includeonly>{{Userbox
 
|id={{Edit Tab}}{{Line Break}}<span style="font-size:10px;">x{{{edits}}}</span>
 
|id={{Edit Tab}}{{Line Break}}<span style="font-size:10px;">x{{{edits}}}</span>
 
|info=This user has made over {{{edits}}} edits on UOGuide.
 
|info=This user has made over {{{edits}}} edits on UOGuide.
 +
|category={{#ifeq: {{{category}}} | true | Users With Over {{{edits}}} Edits }}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 12:19, 2 April 2010

Template:User Edits is designed for use on user pages to display the fact that a user has made over a certain number of edits on UOGuide.

Template

{{User Edits}}

Display

edit
x{{{edits}}}
This user has made over {{{edits}}} edits on UOGuide.

Parameters

edits

  • Usage: Mandatory
  • Description: The edits parameter takes a number denoting the number of edits over which a user had made. This is used to generate the number in the ID section, the number in the sentence in the info section, and the number in the category in which to place user pages that transclude the template.
  • Valid Value(s): Any whole number.

category

  • Usage: Optional
  • Description: The category parameter takes the value "true" denoting that the page transcluding this template will be categorized. This is used to generate the category, consisting of "Users With Over {{{edits}}} Edits," where {{{edits}}} is the value placed in the edits parameter.
  • Valid Value(s): "true"