Revision as of 06:48, 18 April 2006 view sourceLocke Cole (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers18,896 edits switch to #ifeq (see m:ParserFunctions), +cats← 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 | ||
(40 intermediate revisions by 24 users not shown) | |||
Line 1: | Line 1: | ||
<div style="position: absolute; right: {{{position|5}}}em; font-size: 90%; {{{style|}}}" id="TemplateUserinfo" class="topicon plainlinks nourlexpansion"> | |||
<div style="position: absolute; right: 1.15em; top: 1.3em; font-size: 90%;" id="TemplateUserinfo" class="plainlinks">{{#ifeq:{{{purge|}}}|yes|{{purge|purge server cache}} {{!}}}} | </div><noinclude> | |||
{{#ifeq:{{lc:{{{purge|}}}}}|yes|{{purge|purge server cache}} |}} | </div> | |||
==Purpose== | |||
<noinclude> | |||
Adds a nifty info bar across the top of userpages (or talk pages if used there). | |||
==Usage== | |||
<pre>{{userinfo | |||
| purge = | |||
}}</pre> | |||
By default this template displays a link to ]'s edit count and a link to Oleg's edit summary usage tool. You can add a "purge server cache" link by passing <code>purge = yes</code> (any other value for <code>purge</code> is ignored, and <code>yes</code> is case sensetive). | |||
] | |||
] | |||
{{Documentation}} | |||
<!-- Please add this template's categories to the /doc subpage - thanks! --> | |||
</noinclude> | </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: