Difference between revisions of "Template:Adminbars/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
(fix)
m (12 revisions imported)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
#REDIRECT [[Template:Adminstats/doc]]
 
+
{{R from merge}}
This template by itself doesn't do anything. The core of this template is {{tlx|adminbars/core}}. Each user's version of it is made with <code><nowiki>{{adminbars/USER}}</nowiki></code>. It produces output like this:
 
 
 
<div style="float:right; width:35%">{{adminbars/Rjanag}}</div>
 
{{clear}}
 
==Instructions==
 
To create your own graph, follow these instructions:<br>
 
1. If you haven't already, create an admin stats subpage of the {{tlx|adminstats}} template for yourself. You can do this by adding {{tlx|adminstats|YOUR USERNAME}} to your userpage.</br>
 
2. Wait for a bot to fill in your adminstats; it will create a page called [[Template:Adminstats/YOUR USERNAME]]. The page will look something like this:
 
<pre>{{Adminstats/Core
 
|edits=35175
 
|ed=36603
 
|created=2
 
|deleted=491
 
|restored=17
 
|blocked=79
 
|protected=45
 
|unprotected=3
 
|rights=1
 
|reblock=13
 
|modify=5
 
|style={{{style|}}}}}</pre>
 
3. Create a subpage of ''this'' template. The page title should be [[Template:adminbars/YOUR USERNAME]].</br>
 
4. In that subpage, paste the contents of your Template:Adminstats subpage. Replace the first line with <code><nowiki>{{adminbars/core</nowiki></code> and replace the last line with <code><nowiki>|user={{SUBPAGENAME}}}}</nowiki></code>. It should look like this:
 
<pre>{{adminbars/core
 
|edits=35175
 
|ed=36603
 
|created=2
 
|deleted=491
 
|restored=17
 
|blocked=79
 
|protected=45
 
|unprotected=3
 
|rights=1
 
|reblock=13
 
|modify=5
 
|user={{SUBPAGENAME}}}}</pre>
 
5. Save the page. You may now transclude that page to other pages (such as your userpage) by adding <code><nowiki>{{adminbars/YOUR USERNAME}}</nowiki></code>
 
 
 
===Optional parameters===
 
*{{para|width}}: You may add {{para|width}} in the template (step 4) to specify the width at which your chart displays when it is [[Help:transclusion|transcluded]]. The default is 33em (1/3 of the page width). You may specify a width in em or px; if you want there to be no width specification, use {{para|width|auto}} (in which case the chart will stretch to fill the width of the page).
 
 
 
{{Adminbars}}<!-- Keeps template from having zero translusions -->
 
==See also==
 
*[[Template:Adminstats]]
 
*[[Special:PrefixIndex/Template:Adminbars/|all Adminbars charts created so far]]
 
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Wikipedia administration templates]]
 
[[Category:Wikipedia administrator statistics|*]]
 
</includeonly>
 

Latest revision as of 06:06, 17 October 2020

  • From a merge: This is a redirect from a page that was merged into another page. This redirect was kept in order to preserve this page's edit history after its content was merged into the target page's content. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated) or delete this page.