Template talk:Italic title

Whitespace generation
When this template is on a new line and is followed (or preceded) by a blank line, it creates a visible blank line. Is this possible to fix? I often see this create accidental whitespace above article text when the template is placed grouped with the tags at the top of an article. — Goszei (talk) 06:42, 8 May 2021 (UTC)
 * It's not a fault of this template, but in the way that it is being used. If you use it in accordance with its documentation, there is no problem. -- Red rose64 &#x1f339; (talk) 11:16, 8 May 2021 (UTC)
 * It's not the template which causes it but the newlines around the template call. The template has no rendered output at its location so your example effectively has two consecutive blank lines. That gives extra whitespace. Removing the template without removing the newline at the end of its line would give the same result. PrimeHunter (talk) 12:25, 8 May 2021 (UTC)
 * Would adding some kind of invisible character to "trick" the parser into not treating it like a blank line fix it? I understand situations where a blank line is created are improper uses per the documentation (as Redrose64 said), but making this problem self-solvable would save many edits and entries in page history in the future that remove the whitespace when the template is used improperly. — Goszei (talk) 20:28, 8 May 2021 (UTC)
 * No, that would exacerbate it. -- Red rose64 &#x1f339; (talk) 21:21, 8 May 2021 (UTC)
 * This issue was also encountered with and I did some testing with it. It appears to be solved by adding which shouldn't have any unintended consequences. --Trialpears (talk) 20:17, 9 May 2021 (UTC)
 * If Line1 and Line2 are pure text then they would be displayed on the same line with this:  PrimeHunter (talk) 08:45, 10 May 2021 (UTC)
 * We should not be introducing fudges like simply to handle cases where people didn't follow the documentation. This goes for,  and anything else which doesn't display text in place. -- Red rose64 &#x1f339; (talk) 21:21, 10 May 2021 (UTC)
 * Are there any negatives associated with doing so? It is common practice to have one template a line for the top matter and we can't expect every editor to be aware of an obscure detail in the documentation. Changing user behavior on a large scale is basically the hardest thing you can do and adding a is a simple fix that can solve the issue for good everywhere. --Trialpears (talk) 21:32, 10 May 2021 (UTC)
 * Yes there are. If used between two boxes - such as and  - it will cause a gap between the two where none would otherwise have appeared. It defeats the   CSS property. This is pretty much the same argument as Wikipedia talk:Manual of Style/Layout/Archive 13. See also Wikipedia talk:Manual of Style/Layout/Archive 13 and Wikipedia talk:Manual of Style/Layout/Archive 14. -- Red rose64 &#x1f339; (talk) 15:06, 11 May 2021 (UTC)

We need a technical solution for making this template behave like adjacent hatnotes; expecting users to read the documentation is not realistic. fgnievinski (talk) 05:09, 15 November 2022 (UTC)

Request to add support for a |string= parameter to Template:Italic dab
Could a string parameter be added to Module:Italic title to use in Italic dab? This is for when only part of the dab should be in italics. The reason why cannot be used, is that in episode titles, sometimes the episode is named after the series, which causes both to be in italics. --Gonnym (talk) 13:25, 26 May 2021 (UTC)


 * could you implement this please? Gonnym (talk) 08:46, 30 May 2021 (UTC)

String parameter not working anymore
See e.g. Morceaux de salon, Op. 6 (Rachmaninoff) or Fantaisie, Op. 79 (Fauré). intforce (talk) 10:15, 21 June 2021 (UTC)


 * Checking it now. Thanks. Gonnym (talk) 10:16, 21 June 2021 (UTC)
 * @Intforce for the time being use which works. Gonnym (talk) 10:42, 21 June 2021 (UTC)
 * Hm, looks like we missed an edge case in our unit tests. This is because of the new if/else statement on lines 204-209. With this, unless the all parameter is specified, only the dab portion is considered when italicising substrings. This is correct for italic dab, but not for italic title, where it should be the title part and not the dab part that is considered. I've reverted temporarily until we can find a fix. It's been a couple of weeks after rolling out the new version so a few pages that have been switched to use the string argument with italic dab will now be broken, but I am guessing that many more pages were broken after the update, so reverting is the lesser of two evils. — Mr. Stradivarius  ♪ talk ♪ 12:57, 25 June 2021 (UTC)

Should italic title be used on redirects?
I'm leaning no, since the user would never really see it. But figured I'd check. Example. – Novem Linguae (talk) 22:35, 29 May 2022 (UTC)

The Judd Legum article should not have its title in italics
Can someone fix this? Thanks. Nightscream (talk) 03:38, 31 May 2024 (UTC)
 * Appears to have already been fixed in . -- Red rose64 &#x1f339; (talk) 07:49, 31 May 2024 (UTC)