Revision as of 17:29, 25 March 2006 view sourceIan Moody (talk | contribs)Extended confirmed users2,777 edits add id="TemplateUserinfo", I need an easy way to identify this div for a userscript← Previous edit | Latest revision as of 02:04, 19 June 2014 view source Meteor sandwich yum (talk | contribs)9,544 edits fix link to edit summary count: https://tools.wmflabs.org/mathbot/cgi-bin/wp/rfa/edit_summary.cgi?user=Example&lang=en --> https://tools.wmflabs.org/xtools/editsummary/index.php?name=Example&lang=en&wiki=wikipedia | ||
(44 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
<div style="position: absolute; right: |
<div style="position: absolute; right: {{{position|5}}}em; font-size: 90%; {{{style|}}}" id="TemplateUserinfo" class="topicon plainlinks nourlexpansion"> | ||
{{#ifeq:{{lc:{{{purge|}}}}}|yes|{{purge|purge server cache}} |}} | </div> | |||
==Usage== | |||
<noinclude> | |||
Adding this template to your userpage will add the buttons shown in the upper right corner to your userpage. These are quicklinks for Interiot's edit counter and Oleg's edit summary usage tool, as well as a quick link to purge the server cache for your userpage.</noinclude> | |||
{{Documentation}} | |||
<!-- Please add this template's categories to the /doc subpage - thanks! --> | |||
</noinclude> |
Latest revision as of 02:04, 19 June 2014
edit count | edit summary usage
Adds a nifty info bar at the top of your user page (or user talk page if used there).
Usage
{{Userpageinfo}} {{Userpageinfo|purge=yes}} {{Userpageinfo|position=5}}
By default this template displays a link to soxred93's Tool, and another link to X!'s edit summary usage tool. You can add a "purge server cache" link by passing purge = yes
(any other value for purge
is ignored, and yes
is case-sensitive).
The position
parameter can be used to change the location that the links appear at. Larger values here move the links farther to the left, while smaller values move the links farther to the right. The default value is 5, while using 0 will cause the links to appear all the way to the right of the page. The values for this parameter are in em's.
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: