Template:Rename: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
(improved logic)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
| image =  
| image =  
| sect  =  
| sect  =  
| issue = It has been requested that this page be renamed to {{#if:{{{1|}}} |[[{{{1}}}]] |'''<font color="red">''New title is missing, please use:'' {{tl|Rename|''new title''|''reason''}}</font>'''}}.<br/>The reason given was: {{{2}}}. &nbsp; <small>( ''for admins : [{{fullurl:Special:MovePage|wpOldTitle={{Urlencode:{{ARTICLEPAGENAME}}}}&wpNewTitle={{Urlencode:{{{1}}}}}&wpReason={{Urlencode:{{{2}}}}}&wpMovetalk=1}} direct move]'' )</small>
| issue = {{#if:{{{1|}}}
  |{{#ifeq:{{{1|}}}|{{PAGENAME}}
    |It looks like the page has already been renamed! Please remove this template.
    |It has been requested that this page be renamed to [[{{{1}}}]].<br/>The reason given was: {{{2|none.}}} &nbsp; <small>( ''for admins : [{{fullurl:Special:MovePage|wpOldTitle={{Urlencode:{{ARTICLEPAGENAME}}}}&wpNewTitle={{Urlencode:{{{1}}}}}&wpReason={{Urlencode:{{{2}}}}}&wpMovetalk=1}} direct move]'' )</small>}}
  |'''<font color="red">''New title is missing, please use:'' {{tl|Rename|''new title''|''reason''}}</font>'''}}
| fix  =  
| fix  =  
| cat  = <includeonly>Rename requests</includeonly>
| cat  = <includeonly>Rename requests</includeonly>

Latest revision as of 10:46, 19 October 2015

Documentation

The proper usage of this template is to place the following code at the top of a page requiring a rename:

{{Rename|new title|reason}}

If the reason given contains an equal sign (=) inside it (as in a link), you'll be required to precede the reason with a |2=:

{{Rename|new title|2=reason}}