Template:Rename: Difference between revisions

updating the templatedata (which helps VisualEditor users)
(Using Template:mbox to make this template look a little nicer)
(updating the templatedata (which helps VisualEditor users))
 
(One intermediate revision by the same user not shown)
Line 1:
<includeonly>{{mbox|text=Someone suggested renaming the page currently named "{{FULLPAGENAME}}" from its current name ("{{{from}}}") to a new name: "{{{to}}}". {{{reason|(no reason given)|Reason: {{{reason}}}}}}. Please discuss this change at [[{{TALKPAGENAME}}]].}}</includeonly><noinclude>
<templatedata>
{
"params": {
"from": {
"description": "name of the article before renaming",
"required": true
},
"to": {
"description": "proposed new name for the article",
"required": true
},
"reason": {
"description": "rationale for the move",
"suggested": true
}
}
}
</templatedata>
 
== Examples ==
 
=== Example 1 ===
==== Wikitext ====
<code><nowiki>
{{rename|from=Reweighted Range Voting|to=Reweighted range voting|reason=Consistency with [[English Wikipedia]]'s naming conventions}}
</nowiki></code>
==== Result ====
{{rename|from=Reweighted Range Voting|to=Reweighted range voting|reason=Consistency with [[English Wikipedia]]'s naming conventions}}
</noinclude>