Template talk:Cfr2
Appearance
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Discussion
[edit]- 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!
- 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.
- 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.
(I think this has a chance... but, for once I'm not being bold. [Call a newspaper! <G>]
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
[edit]- Example: {{Cfr| CatOldName | CatNewName|text="Put your reason(s) here."}}
- Notes
-
- CatOldName and CatNewName DO NOT take ':Category' or 'Category' in the name, just use the {{PAGENAME}} form without the namespace prefix.
- "text=" must be lowercase
- Do not use quotes in your text reasons. The equals sign is enough to delimit your reasons.
- 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.
- 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)
- Thanks CBD! That 'text=' was the first time I'd seen it. At the same time was baffled it wouldn't take a simple third argument. In general, think the cognizatti need think more from the shoes of the tyro or novice when finalizing these things. Trying to make a quick nom shouldn't cost one 20 minutes plus parsing how someone uses a thing. // FrankB 16:56, 5 January 2007 (UTC)
Documentation
[edit]{{editprotected}} Please add {{Documentation}} between the <noinclude></noinclude>. Thanks. -- Suntag ☼ 01:27, 3 October 2008 (UTC)
- Done. --- RockMFR 05:53, 3 October 2008 (UTC)
Remove leading colons
[edit]See discussion at Template talk:Cfd2#Remove leading colons. User:GKFXtalk 21:11, 23 October 2021 (UTC)