Misplaced Pages

Template:Userpageinfo: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 19:44, 23 September 2007 view sourceLights (talk | contribs)Rollbackers25,025 editsm +iw← Previous edit Revision as of 11:39, 29 May 2008 view source Dispenser (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers33,005 edits Improved XHTML/CSS, WP:DOC, use of {{SERVERNAME}} magic word, removed outdated commentsNext edit →
Line 1: Line 1:
<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 style="position:absolute; right:1.15em; top:1.3em; font-size:90%;" id="TemplateUserinfo" class="plainlinks">
<!-- NB: enwiki data on the Toolserver stopped updating on June 6, 2006, and completely disappeared off its database a few months later. --> | </div><noinclude> {{#ifeq:{{{purge|}}}|yes|{{purge|purge server cache}} &#124;}} | </div><noinclude>
==Purpose==
Adds a nifty info bar across the top of userpages (or talk pages if used there).


{{Documentation}}
==Usage==
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<pre>{{userinfo
| purge =
}}</pre>
By default this template displays a link to ]'s ] and a link to ]'s . You can add a "] server cache" link by passing <code>purge = yes</code> (any other value for <code>purge</code> is ignored, and <code>yes</code> is case sensitive).

] <!--(May need focusing)-->
]
]
]
]
</noinclude> </noinclude>

Revision as of 11:39, 29 May 2008

edit count | edit summary usage Template documentation[view] [edit] [history] [purge] Not to be confused with Template:User info.

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.

The above documentation is transcluded from Template:Userpageinfo/doc. (edit | history)
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: