Template talk:For

message: Per above and . Ibadibam (talk) 23:30, 29 September 2014 (UTC)
replies: text: . Thank you — Martin (MSGJ · talk) 08:23, 1 October 2014 (UTC)
replies: text: While I like the idea behind the proposed edit, the implementation caused some unwanted results in hatnotes such as at Black Widow (song) where the hatnote is  where the expectation is for it to be displayed as a piped link. older ≠ wiser 15:38, 3 October 2014 (UTC)
replies: text: It's the same problem that appears when using the  template . I left a note about that for , now archived at User talk:Edokter/Archive 8#Monk (Doctor Who). --Redrose64 (talk) 16:41, 3 October 2014 (UTC)
replies: text: The pipe hack seems to work there (for now), but I have no thoughts about how this should be handled in the future. -- User:Edokter  17:50, 3 October 2014 (UTC)
thread_title: Edit request

message: I've occasionally seen the  template used in the style of Google's "did you mean..." autocorrect, where one word is spelled very similarly to another. (Reality: "Not to be confused with Realty.") It seems a little perverse to present an easily-misread typo in a vague "don't confuse this with that" sentence where the reader may well misread it. Is it worth having a dedicated template for common typos? Or is "see also this similarly-spelled word" simply an inappropriate hatnote? --McGeddon (talk) 10:30, 15 July 2015 (UTC)
thread_title:  "Not to be confused with" typos 

message: Is there any way to avoid the appearance of double periods at the end of a sentence? For instance, the page for Donald S. Lopez, Sr. uses the for template to point to Donald S. Lopez, Jr. (It looks like this: ). The period at the end of the junior appears right next to the sentence-ending period, and it looks awkward: For the Professor of Buddhism, see Donald S. Lopez, Jr.. <--- See the two periods at the end. Anything we can do about instances like this? Thanks 04:29, 4 February 2016 (UTC)
replies: text: I'd second the need for this: A Theory of Justice requires a hatnote to A Theory of Justice: The Musical!, but this and other comparable templates all contain the period at the end, without giving an option to suppress it, as it currently comes up as punctuated (For the 2013 musical, see A Theory of Justice: The Musical!.). Is there the possibility of making it switchable for cases like these where the article title already ends in punctuation (e.g. |punc=no| to remove the period)? — Sasuke Sarutobi (talk) 10:02, 6 May 2016 (UTC)
thread_title: Double periods?

message: That article says (using this template) "For the Negativland album, see Dispepsi." But Dispepsi doesn't sound anything like Indigestion: it really needs an extra sentence saying "Dyspepsia redirects here" to explain why the link is being offered. Can the template do this? Equinox ◑ 20:22, 6 February 2017 (UTC)
replies: text: I think what you're looking for is the template . — Eru·tuon 00:26, 7 February 2017 (UTC)
replies: text:  Yep! I've changed it now. Equinox ◑ 18:07, 9 February 2017 (UTC)
thread_title:  This looks strange at [[Indigestion]] 

message: I'd like to remove the defaulting to "other uses" when parameter 1 is empty or undefined. Instead, the template should show an error message instructing users to use  instead. While this might be mildly annoying to editors in each individual case, it avoids newbie-incomprehensible syntax like  being left on pages where  would be clearer, and an error message would be enough to instruct people to use the correct template.
Currently all offending cases are categorized in :Category:Hatnote templates using unusual parameters; I've at various points corrected all the extant article-namespace cases, and there are none left as of this comment, but it collects them over time.
Does anyone have any objections to this change?  16:59, 19 June 2018 (UTC)
replies: text: Seems like a good idea to me, assuming my proposal to merge the two templates fails.  ery (talk) 17:13, 25 June 2018 (UTC)

text: There are so many cases of this use of  that it seems unnecessarily disruptive to replace it with an error message for the sole purpose of calling attention to something invisible to the reader. Better to fix it through automation. Ibadibam (talk) 22:14, 25 June 2018 (UTC)
replies: text: No, that's incorrect. I wrote Module:For, and a while back set it up to categorize pages with that usage in :Category:Hatnote templates using unusual parameters, and as of this comment there are zero article-namespace pages (and fewer than fifty total pages) in that category, which currently only collects that case (the others have been resolved).  02:02, 26 June 2018 (UTC)
replies: text: Oh great. Ibadibam (talk) 22:27, 26 June 2018 (UTC)

text: Sorry for not pointing this out earlier, but I would oppose explicitly blocking "other uses" as simply unnecessary (this does not mean I oppose removing the defaulting).  ery (talk) 21:04, 20 July 2018 (UTC)
replies: text:  That's fair, I suppose. I'd prefer to include it as uses of the exact-match case should probably be using  instead strictly for semantic clarity, but as  would still be reasonably correct usage for individual cases of "other X" it's probably OK to leave. As a compromise, why don't we leave the exact-match cases to populate :Category:Hatnote templates using unusual parameters?  19:05, 21 July 2018 (UTC)
replies: text:  Well, fine with me I guess .  ery (talk) 19:17, 21 July 2018 (UTC)
replies: text: I've updated the sandbox to match the compromise. Look good now?  19:43, 21 July 2018 (UTC)
replies: text:  yes, except for the fact that the error message "no context parameter provided." is unclear.  ery (talk) 22:38, 21 July 2018 (UTC)
replies: text:  Would you suggest an alternative? I'm trying to balance clarity with concision. I'll write up a longer explanation of the error in the template documentation, as the target of the help link, on implementation.  15:40, 22 July 2018 (UTC)
replies: text:  Just "no parameters specified"?.  ery (talk) 14:28, 23 July 2018 (UTC)
thread_title:  Removing "other uses" defaulting 

message: Please apply Special:Diff/963584211/986365894 to suppress categorization of talk pages and user pages into :Category:Hatnote templates using unusual parameters. This is similar to what Module:Hatnote does since Special:Diff/967664662. —⁠andrybak (talk) 11:51, 31 October 2020 (UTC)
replies: text:  Special:Diff/986771546. —⁠andrybak (talk) 22:34, 2 November 2020 (UTC)
thread_title:  Template-protected edit request on 31 October 2020 

message: and all others: Do you agree on adding Template:For2 in the "See also" section, so users who need that template get to know about it? --KnightMove (talk) 06:17, 31 January 2021 (UTC)
replies: text: Sorry, I've just realized how to do it myself on the unprotected documentation page (edit). So in the end, this topic is really done. --KnightMove (talk) 06:47, 31 January 2021 (UTC)
thread_title:  Adding Template:For2 here in "See also" 

message: I have sent this template to TfD for a merge with Template:For2. See Wikipedia:Templates for discussion#Template:For. Please add the TfD notice:

to the top of the template. Thanks.  18:53, 30 June 2021 (UTC)
replies: text: Done firefly ( t · c ) 19:56, 30 June 2021 (UTC)
thread_title:  Sent to [[wp:TfD|TfD]] 

message: In this version, there is a redlink in hatnote that does not cause an error. , another one to keep in mind if you are able to find a good way to catch these this as in the others. MB 15:31, 3 December 2021 (UTC)
thread_title:  Error checking 

message: Hey there, I am here not to make any changes or edits to this template, but to actually see the code for this template. I work on a fandom wiki and we are having an issue where with our "For" template, we can only get a max of 2 fields. For example, if it have [For|other uses|xxx|xxx|xxx] it will only insert For other uses, see xxx and xxx. I wanted to see the code for it but it wouldn't allow me, so I created this account five minutes ago just so I could talk on here. In case you're wondering, I work on the Call of Duty Wiki.
Thanks, FearMePhoenix (talk) 17:23, 6 December 2022 (UTC)
replies: text: This template calls a Lua module, Module:For, which should be visible to anyone with or without a registered user account. – Jonesey95 (talk) 17:26, 6 December 2022 (UTC)
thread_title:  Template-protected edit request on 6 December 2022 

message: For hatnotes, I believe it would be helpful to include (transclude?) instructions on the appropriate hatnote template pages for how to italicize (unitalicize, really) what would normally be so according to the Manual of Style. I remembered seeing it long ago and recently had to go to random articles (making educated guesses) hoping to see an example of it so I could copy it. Only after I figured it out did I come across WP:ITHAT just now. I'm sure I've added many a hatnote without proper italics.   — TARDIS builder✉     •       11:24, 29 May 2024 (UTC)
replies: text: TARDIS Builder, please see new section in the documentation: Template:For/doc#Styling in italics. Is something like this what you had in mind? —⁠andrybak (talk) 15:34, 29 May 2024 (UTC)
replies: text: @Andrybak – Oh yes, that's very helpful. Now, to include that on all the hatnote templates! I wouldn't even know how to find the full list. [cry laughing emoji seems appropriate here]   — TARDIS builder✉     •       15:50, 29 May 2024 (UTC)
replies: text: Do you mean :Category:Hatnote templates? This could be tricky due to different layouts of the /doc pages, however, the best way would be to create a shared documentation template. Documentation pages of some of the hatnote templates already use a shared content template – the navbox . For "Styling in italics", something like Template:Hatnote italics doc could be created with the content from Special:Diff/1226267598. —⁠andrybak (talk) 18:36, 29 May 2024 (UTC)
replies: text: @Andrybak – Sounds good, but way out of my depth. Where would it be appropriate for me to make this request / suggestion?   — TARDIS builder✉     •       05:43, 30 May 2024 (UTC)

text:  In case I did not ping you correctly last time.   — TARDIS builder✉     ★       21:11, 31 May 2024 (UTC)
replies: text: TARDIS Builder, you could try asking at Wikipedia:Requested templates. —⁠andrybak (talk) 21:13, 31 May 2024 (UTC)
thread_title:  Documentation on italics in hatnote