Misplaced Pages

Template talk:Cfr2

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by CBDunkerson (talk | contribs) at 01:44, 5 January 2007 (Discussion: Will make change). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 01:44, 5 January 2007 by CBDunkerson (talk | contribs) (Discussion: Will make change)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{subst:cfr2 | old category | new category | optional Cfd section name | text= Your reason(s) for the name change. ~~~~}}

Example

{{subst:cfr2|Old name|New name|Umbrella|text='''Rename''', it covers a broader range of topics. ~~~~}} creates this:

Umbrella

Purpose

Used similar to {{vfd2}} to simplify the listing on WP:CFD of a category with {{Cfr}}. See how to use this page for overall instructions..

Discussion

  1. In Template:Cfr2(edit talk links history) this 'Template:Text(edit talk links history)' is mysterious. Given this, I'm not sure what *{{{text|NEED REASON.}}} is doing or asking. Harumph!
  2. In any event, since it's ignoring my 3rd perameter, I suggest this be coded to do whatever it's supposed to want and or override by taking a third perameter.
  3. So I'm not confident enough to ensure getting this in one go, so asked you here with the editprotect modify so {{subst:cfr2|Categories for deletion|Category:Categories for discussion|Match Main Article Page, and avoid confusion}} will assert {{{3|{{{text|NEED REASON}}} }}} or whatever will work first time. Template:I(I think this has a chance... but, for once I'm not being bold.
    This talk page may meet Misplaced Pages's criteria for speedy deletion as a corrupt or empty file, or a file description page for a file on Commons. Try previewing a resized thumbnail before deleting. See CSD F2.%5B%5BWP%3ACSD%23F2%7CF2%5D%5D%3A+Corrupt+or+empty+file%2C+or+a+file+description+page+for+a+file+on+CommonsF2

    If this talk page does not meet the criteria for speedy deletion, or you intend to fix it, please remove this notice, but do not remove this notice from pages that you have created yourself. If you created this page and you disagree with the given reason for deletion, you can click the button below and leave a message explaining why you believe it should not be deleted. You can check back later to see if you have received a response to your message.

    Note that this talk page may be deleted at any time if it unquestionably meets the speedy deletion criteria, or if an explanation added below this notice is found to be insufficient.

    Nominator: Please consider placing the template:
    {{subst:Db-noimage-notice|Template talk:Cfr2|header=1}} ~~~~
    on the talk page of the author.
    Administrators: check links, talk, history (last), and logs before deletion. Consider checking Google.
    This page was last edited by CBDunkerson (contribs | logs) at 01:44, 5 January 2007 (UTC) (17 years ago)
    Sorry to impose, but when that line wouldn't work, and it seems to want a 'text=' or something, I figured I better ask for help. Best regards! // FrankB 23:52, 4 January 2007 (UTC)
    I just added the below to the template for the uninitiated's benefit.
    It will need some rework iff '3' defaults to the text. I'm not sure why this is written using 'text=', but seems to me an #if statement would do the same or perhaps just {{{3|NEED REASON}}} would suffice. Harrumph! <g> // FrankB

    Usage

    • Example: {{Cfr| CatOldName | CatNewName|text="Put your reason(s) here."}}
    Notes
    1. CatOldName and CatNewName DO NOT take ':Category' or 'Category' in the name, just use the {{PAGENAME}} form without the namespace prefix.
    2. "text=" must be lowercase
      1. Do not use quotes in your text reasons. The equals sign is enough to delimit your reasons.
      2. Several reasons can be tacked out and seperated on different lines using '<br>', '{{I}}' or '{{I2}}' but the text reason cannot contain any newline characters. The closing '}}' will delimit the end of your text.
    3. Sign after the closing '}}' pair, or continue under with an amplified comment then sign.
    end
    usage added here for reference at this time. // FrankB 00:20, 5 January 2007 (UTC)
    The {{{text|NEED REASON}}} section is not a call to Template:text... that would be enclosed in double brackets. Since this 'text' is in triple brackets it is instead the name of a parameter. Basically, if there was a template call of the form {{cfr2|Oldname|Newname|text=Because I want to}} this template would print the text "Because I want to" as the 'reason' below the request for a name change... if no 'text' parameter is input then the default "NEED REASON" text is printed instead to let the user know that they need to put in a reason for the change.
    Since some people are used to the 'text=' format I will leave that in place, but make a change so that the template will also just accept a third unnamed parameter as you describe above. This can be done with just {{{3|{{{text|NEED REASON}}}}}}... which would print the contents of the third unnamed parameter if set, otherwise the contents of the text parameter if set, and otherwise 'NEED REASON'. --CBD 01:44, 5 January 2007 (UTC)