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 13:07, 5 April 2006 view sourceLocke Cole (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers18,894 edits try making purge optional← Previous edit Revision as of 06:48, 18 April 2006 view source Locke Cole (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers18,894 edits switch to #ifeq (see m:ParserFunctions), +catsNext edit →
Line 1: Line 1:
<div style="position: absolute; right: 1.15em; top: 1.3em; font-size: 90%;" id="TemplateUserinfo" class="plainlinks">{{qif|test={{booleq|{{{purge}}}|yes}}|then={{purge|purge server cache}} {{!}}}} | </div><noinclude> <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>
==Purpose== ==Purpose==
Adds a nifty info bar across the top of userpages (or talk pages if used there). Adds a nifty info bar across the top of userpages (or talk pages if used there).
Line 7: Line 7:
| purge = | purge =
}}</pre> }}</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).</noinclude> 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).

]
]

</noinclude>

Revision as of 06:48, 18 April 2006

edit count | edit summary usage

Purpose

Adds a nifty info bar across the top of userpages (or talk pages if used there).

Usage

{{userinfo
| purge =
}}

By default this template displays a link to Interiot's edit count and a link to Oleg'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 sensetive).


Categories: