Difference between revisions of "Template:Edit count link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(+usage example)
imported>Enterprisey
(moved cats around; added template data header)
Line 10: Line 10:
 
For instance, {{tlc|Edit count link|Example|en.wikipedia.org}} would show {{Edit count link|Example|en.wikipedia.org}}.
 
For instance, {{tlc|Edit count link|Example|en.wikipedia.org}} would show {{Edit count link|Example|en.wikipedia.org}}.
  
<includeonly><!-- ADD CATEGORIES BELOW THIS LINE -->
+
{{TemplateDataHeader}}
[[Category:Link templates]]
 
[[Category:User namespace templates]]
 
</includeonly>
 
 
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 51: Line 47:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
<includeonly><!-- ADD CATEGORIES BELOW THIS LINE -->
 +
[[Category:Link templates]]
 +
[[Category:User namespace templates]]
 +
</includeonly>

Revision as of 16:57, 8 February 2015

Usage

{{Edit count link|username|project}}

or

{{Edit count link|username=username|project=project}}

For instance, {{Edit count link|Example|en.wikipedia.org}} would show Edit count.

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Edit count link

Displays a link to an edit count tool.

Template parameters

ParameterDescriptionTypeStatus
Usernameusername 1

The username of the user whose edit count should be displayed.

Default
Example
Userrequired
Projectproject 2

The project from which the user's edit count should be retrieved.

Default
en.wikipedia.org
Stringrequired
Link labellinklabel 3

A label for the link to be used in place of the default.

Default
Edit count
Stringoptional