Revision as of 01:44, 5 January 2007 editCBDunkerson (talk | contribs)Administrators15,422 edits →Discussion: Will make change← Previous edit | Latest revision as of 14:34, 15 September 2024 edit undoCewbot (talk | contribs)Bots7,579,649 editsm Maintain {{WPBS}}: 1 WikiProject template. Create {{WPBS}}.Tag: Talk banner shell conversion | ||
(9 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{WikiProject banner shell| | |||
== Usage == | |||
{{WikiProject Categories}} | |||
'''<nowiki>{{subst:cfr2 | old category | new category | optional Cfd section name | text= Your reason(s) for the name change. ~~~~}}</nowiki>''' | |||
}} | |||
=== Example === | |||
<nowiki>{{subst:cfr2|Old name|New name|Umbrella|text='''Rename''', it covers a broader range of topics. ~~~~}}</nowiki> creates this: | |||
==== Umbrella ==== | |||
*{{lc|Old name}} to {{lc|New name}} | |||
*'''Rename''', it covers a broader range of topics. ''Your signature'' | |||
=== Purpose === | |||
Used similar to {{tl|vfd2}} to simplify the listing on ] of a category with {{tl|Cfr}}. See ] for overall instructions.. | |||
== Discussion == | == Discussion == | ||
# In {{lts|cfr2}} this '{{lts|text}}' is mysterious. Given this, I'm not sure what <nowiki>*{{{text|NEED REASON.}}}</nowiki> is doing or asking. Harumph! | # In {{lts|cfr2}} this '{{lts|text}}' is mysterious. Given this, I'm not sure what <nowiki>*{{{text|NEED REASON.}}}</nowiki> 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. | # 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 {{tlx|subst:cfr2|Categories for deletion|Category:Categories for discussion|Match Main Article Page, and avoid confusion}} will assert <nowiki>{{{3|{{{text|NEED REASON}}} }}}</nowiki> or whatever will work first time. {{ |
# So I'm not confident enough to ensure getting this in one go, so asked you here with the '''editprotect''' modify so {{tlx|subst:cfr2|Categories for deletion|Category:Categories for discussion|Match Main Article Page, and avoid confusion}} will assert <nowiki>{{{3|{{{text|NEED REASON}}} }}}</nowiki> or whatever will work first time. <br /><br />{{space|3}}(I think this has a chance... but, for once I'm not being bold. <br /><br />{{space|2}}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! // <B>]</B>] 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 <nowiki>#if statement would do the same or perhaps just {{{3|NEED REASON}}}</nowiki> would suffice. Harrumph! <g> // <B>]</B |
;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 <nowiki>#if statement would do the same or perhaps just {{{3|NEED REASON}}}</nowiki> would suffice. Harrumph! <g> // <B>]</B>] | ||
===Usage=== | ===Usage=== | ||
* Example: '''<nowiki>{{Cfr| CatOldName | CatNewName|text="Put your reason(s) here."}}</nowiki>''' | * Example: '''<nowiki>{{Cfr| CatOldName | CatNewName|text="Put your reason(s) here."}}</nowiki>''' | ||
Line 27: | Line 17: | ||
:# Sign after the closing <nowiki>'}}' pair</nowiki>, or continue under with an amplified comment then sign. | :# Sign after the closing <nowiki>'}}' pair</nowiki>, or continue under with an amplified comment then sign. | ||
;end:usage added here for reference at this time. // <B>]</B |
;end:usage added here for reference at this time. // <B>]</B>] 00:20, 5 January 2007 (UTC) | ||
:The <nowiki>{{{text|NEED REASON}}}</nowiki> section is not a call to ]... 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 <nowiki>{{cfr2|Oldname|Newname|text=Because I want to}}</nowiki> 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. | :The <nowiki>{{{text|NEED REASON}}}</nowiki> section is not a call to ]... 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 <nowiki>{{cfr2|Oldname|Newname|text=Because I want to}}</nowiki> 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 <nowiki>{{{3|{{{text|NEED REASON}}}}}}</nowiki>... 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'. --] 01:44, 5 January 2007 (UTC) | :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 <nowiki>{{{3|{{{text|NEED REASON}}}}}}</nowiki>... 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'. --] 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. // <B>]</B>] 16:56, 5 January 2007 (UTC) | |||
==Documentation== | |||
{{]}} | |||
<nowiki>Please add {{Documentation}} between the <noinclude></noinclude>. Thanks.</nowiki> -- ] ] 01:27, 3 October 2008 (UTC) | |||
:Done. --- ] 05:53, 3 October 2008 (UTC) | |||
== Remove leading colons == | |||
See discussion at ]. ]<sup>]</sup> 21:11, 23 October 2021 (UTC) |
Latest revision as of 14:34, 15 September 2024
This template does not require a rating on Misplaced Pages's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Discussion
- 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.
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
-
- 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
{{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
See discussion at Template talk:Cfd2#Remove leading colons. User:GKFX 21:11, 23 October 2021 (UTC)
Category: