Template:Rename: Difference between revisions

updating the templatedata (which helps VisualEditor users)
(Stub template that I'm temporarily using on the Monotonicity page)
 
(updating the templatedata (which helps VisualEditor users))
 
(4 intermediate revisions 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>
:''Someone suggested renaming this page to "{{{1}}}"''
<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>