Template:Usurp: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
Created Template
 
Optimised Code
 
Line 3: Line 3:
{{status}}
{{status}}
{{Usurp2| 1={{{1|oldname}}} | 2={{{2|newname}}} }}
{{Usurp2| 1={{{1|oldname}}} | 2={{{2|newname}}} }}
*Datestamp: ~~<includeonly></includeonly>~<includeonly></includeonly>~~<includeonly>{{{{{|safesubst:}}}#if: {{{link|}}} |</includeonly>
* Datestamp: ~~<includeonly></includeonly>~<includeonly></includeonly>~~<includeonly>{{{{{|safesubst:}}}#if: {{{link|}}} |</includeonly>
*Confirmation link: [{{{link|fullurl}}} here]<includeonly>}}</includeonly><includeonly>{{{{{|safesubst:}}}#if: {{{reason|}}} |</includeonly>
* Confirmation link: [{{{link|fullurl}}} here]<includeonly>}}</includeonly><includeonly>{{{{{|safesubst:}}}#if: {{{reason|}}} |</includeonly>
*Reason: {{{reason|}}}<includeonly>}}</includeonly>
* Reason: {{{reason|}}}<includeonly>}}</includeonly>
{{{{{|safesubst:}}}#if: {{{sig|}}} | {{{sig}}} | ~~<includeonly></includeonly>~~ }}<noinclude>
{{{{{|safesubst:}}}#if: {{{sig|}}} | {{{sig}}} | ~~<includeonly></includeonly>~~ }}<noinclude>
{{Documentation}}
{{Documentation}}

Latest revision as of 21:50, 6 October 2010

oldnamenewname[edit]

Status:    In progress

~~~~

Template documentation

This is the Usurp template.

This template is used at META:CHU.

Substituting this template transcludes {{Usurp2}} in order to keep the formatting consistant and the visible code to a minimum.

Usage[edit]

Usage for these templates is as follows.
For rename requests, use this:
{{subst:Renameuser|CURRENT NAME|TARGET NAME}}
For usurpation requests, use this:
{{subst:Usurp|CURRENT NAME|TARGET NAME}}
For SUL requests, which leaves your logged in account untouched, use this:
{{subst:SUL|TARGET NAME}}
To add a reason (compulsory for rename requests), use the reason parameter:
{{subst:(template)|TARGET NAME|reason=YOUR REASON}}
To add a confirmation link (compulsory for SUL requests), use the link parameter with a bare url without the squared brackets:
{{subst:(template)|TARGET NAME|link=CONFIRMATION LINK}}
To add an optional non default signature, use the sig parameter:
{{subst:(template)|TARGET NAME|sig=OPTIONAL SIGNATURE}}

Where (template) can represent: {{Renameuser}}, {{Usurp}} or {{SUL}}.

See also[edit]