Difference between revisions of "Template:User Edits"

m
m
 
Line 16: Line 16:
 
|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
 
|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=Users With Over {{{edits}}} Edits
+
|category={{#ifeq: {{{category}}} | true | Users With Over {{{edits}}} Edits }}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 11: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"