Template
Editcount table
From Dogcraft Wiki
(Created page with "<noinclude> ==Editcount table template== This template a table of every user paired with their editcount. Intended mostly for statistical purposes. This template recives its d...") |
No edit summary |
||
Line 3: | Line 3: | ||
This template a table of every user paired with their editcount. Intended mostly for statistical purposes. This template recives its data from [[Template:EditCountMain]], a page which is updated by the EditCount gadget. Please contact an [[Dogcraft_Wiki:Administrators|admin]] if you think the editcount data has not been updated in a long time. | This template a table of every user paired with their editcount. Intended mostly for statistical purposes. This template recives its data from [[Template:EditCountMain]], a page which is updated by the EditCount gadget. Please contact an [[Dogcraft_Wiki:Administrators|admin]] if you think the editcount data has not been updated in a long time. | ||
===Syntax=== | ===Syntax=== | ||
<nowiki>{{Editcount_table|class= | <nowiki>{{Editcount_table|class=custom class names|style=custom css styles}}</nowiki> | ||
===Template Data=== | ===Template Data=== | ||
<templatedata>{ | <templatedata>{ | ||
Line 11: | Line 11: | ||
"label": "class", | "label": "class", | ||
"description": "Sets the class(es) for the <div> that contains the table.", | "description": "Sets the class(es) for the <div> that contains the table.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
Line 17: | Line 17: | ||
"label": "class", | "label": "class", | ||
"description": "Sets the style for the <div> that contains the table.", | "description": "Sets the style for the <div> that contains the table.", | ||
"type": "string", | |||
"required": false | |||
}, | |||
"cleardefaultclassses": { | |||
"label": "cleardefaultclasses", | |||
"description": "Clears the 2 default classes, allowing the editor to set all of them manually. If it exists, it will clear default classes, regardless of content.", | |||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | } | ||
} | } | ||
}</templatedata></noinclude><includeonly>{{EditCountMain|mode=table|tableBoxClass="{{{class|}}}"|tableBoxStyle="{{{style|}}}"}}</includeonly> | }</templatedata></noinclude><includeonly>{{EditCountMain|mode=table|tableBoxClass="{{#if: {{{cleardefaultclasses}}}|{{{class|}}}|phonefullscreen uecTable2 {{{class|}}}}}"|tableBoxStyle="{{{style|}}}"}}</includeonly> |
Revision as of 03:05, 13 August 2020
Editcount table template
This template a table of every user paired with their editcount. Intended mostly for statistical purposes. This template recives its data from Template:EditCountMain, a page which is updated by the EditCount gadget. Please contact an admin if you think the editcount data has not been updated in a long time.
Syntax
{{Editcount_table|class=custom class names|style=custom css styles}}
Template Data
Returns the number of edits a specific user has made to the wiki.
Parameter | Description | Type | Status | |
---|---|---|---|---|
class | class | Sets the class(es) for the <div> that contains the table. | String | optional |
class | style | Sets the style for the <div> that contains the table. | String | optional |
cleardefaultclasses | cleardefaultclassses | Clears the 2 default classes, allowing the editor to set all of them manually. If it exists, it will clear default classes, regardless of content. | String | optional |