Template:Rename: Difference between revisions
Content added Content deleted
(Changing to named parameters for {{rename}}) |
(updating the templatedata (which helps VisualEditor users)) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | 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> |
Latest revision as of 03:43, 17 April 2022
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
from | from | name of the article before renaming | Unknown | required |
to | to | proposed new name for the article | Unknown | required |
reason | reason | rationale for the move | Unknown | suggested |
Examples
Example 1
Wikitext
{{rename|from=Reweighted Range Voting|to=Reweighted range voting|reason=Consistency with [[English Wikipedia]]'s naming conventions}}