Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Tfr2/doc

From Wikipedia, the free encyclopedia

This template is used to list other templates for renaming (moving) at the WP:TFD (Wikipedia:Templates for discussion) pages. This template is a Wikipedia self-reference and so is part of the Wikipedia project rather than the encyclopedic content.

Usage

[edit]

To nominate a single template, substitute this template on the latest WP:TFD log page above the other nominations:

{{subst:Tfr2|CurrentTemplateName|NewTemplateName|text=Your rationale for nominating the template. ~~~~}}
  • Note: CurrentTemplateName and NewTemplateName represent template names excluding the prefix Template: (or Module:).
  • Accepts up to 25 current/new name pairs. These can be specified as |current1= and |new1=, |current2= and |new2=, etc. Or they can be done as unnamed positional parameters, as long as you get the order right. See examples below.
  • To specify modules instead of templates, use the parameter |module=Module: (note the colon).
  • To specify a mix of templates and modules, use this template twice in a sandbox, once for the template(s) and once for the module(s), and cobble together the relevant lines into a single entry, then post that at TfD. There is presently no way to tell the template to not apply a namespace itself and to just accept input as including the namespace on a per-item basis (this was attempted, but the underlying {{Tfd links}} template cannot do this).
  • You must provide a rationale with |text= AKA |reason=, and sign it with ~~~~.
  • This listing template automatically sorts current and proposed new names into separate columns.

Examples

[edit]

This code:

{{subst:Tfr2|Test1|NewTest1|text=My brilliant rationale. ~~~~}}

produces (without the green background):

Current nameTarget name

Propose renaming Template:Test1 to Template:NewTest1.
My brilliant rationale. ~~~~

This code:

{{subst:Tfr2|module=Module:|Test1|NewTest1|Test2|NewTest2|text=My brilliant rationale. ~~~~}}

produces:

Current namesTarget names

Propose renaming Module:Test1 to Module:NewTest1; Module:Test2 to Module:NewTest2.
My brilliant rationale. ~~~~

This code:

{{subst:Tfr2|current1=Test1|new1=NewTest1|current2=Test2|new2=NewTest2|current3=Test3|new3=NewTest3|text=My brilliant rationale. ~~~~}}

produces:

Current namesTarget names

Propose renaming Template:Test1 to Template:NewTest1; Template:Test2 to Template:NewTest2; Template:Test3 to Template:NewTest3.
My brilliant rationale. ~~~~

This code:

{{Tfr2
|Test1 |NewTest1
|Test2 |NewTest2
|Test3 |NewTest3
|text=My brilliant rationale. ~~~~
}}

also produces:

Current namesTarget names

Propose renaming Template:Test1 to Template:NewTest1; Template:Test2 to Template:NewTest2; Template:Test3 to Template:NewTest3.
My brilliant rationale. ~~~~

See also

[edit]
  • {{subst:Tfd2}} – the parallel template for deletion
  • {{subst:Tfm2}} – the parallel template for merger
  • {{subst:Tfr2}} – second step in a TfR process (use at WP:TFD daily log page)
  • {{subst:Tfr notice|ProposedNewName}} – to leave a notification at the template creator's talk page or other relevant pages