Template:Rename: Difference between revisions

From electowiki
Content added Content deleted
(Made my stub template more descriptive)
(updating the templatedata (which helps VisualEditor users))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
:''Someone suggested renaming the page currently named "{{FULLPAGENAME}}" from its current name ("{{{from}}}") to a new name: "{{{to}}}". Please discuss this change at [[{{TALKPAGENAME}}]].''
<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>

Latest revision as of 03:43, 17 April 2022

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
fromfrom

name of the article before renaming

Unknownrequired
toto

proposed new name for the article

Unknownrequired
reasonreason

rationale for the move

Unknownsuggested

Examples

Example 1

Wikitext

{{rename|from=Reweighted Range Voting|to=Reweighted range voting|reason=Consistency with [[English Wikipedia]]'s naming conventions}}

Result