Langbahn Team – Weltmeisterschaft

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. ([1]) 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)[reply]

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. --Redrose64 đŸŒč (talk) 11:16, 8 May 2021 (UTC)[reply]
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)[reply]
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)[reply]
No, that would exacerbate it. --Redrose64 đŸŒč (talk) 21:21, 8 May 2021 (UTC)[reply]
This issue was also encountered with {{short description|none}} and I did some testing with it. It appears to be solved by adding <nowiki /> which shouldn't have any unintended consequences. --Trialpears (talk) 20:17, 9 May 2021 (UTC)[reply]
If Line1 and Line2 are pure text then they would be displayed on the same line with this:
Line1
{{italic title}}
Line2
PrimeHunter (talk) 08:45, 10 May 2021 (UTC)[reply]
@Trialpears: We should not be introducing fudges like <nowiki /> simply to handle cases where people didn't follow the documentation. This goes for {{short description}}, {{italic title}} and anything else which doesn't display text in place. --Redrose64 đŸŒč (talk) 21:21, 10 May 2021 (UTC)[reply]
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 <nowiki /> is a simple fix that can solve the issue for good everywhere. --Trialpears (talk) 21:32, 10 May 2021 (UTC)[reply]
Yes there are. If used between two boxes - such as {{proposed deletion/dated}} and {{notability}} - it will cause a gap between the two where none would otherwise have appeared. It defeats the border-collapse: CSS property. This is pretty much the same argument as Wikipedia talk:Manual of Style/Layout/Archive 13#Where to put {{short description}}. See also Wikipedia talk:Manual of Style/Layout/Archive 13#Nothing should go between navboxes and authority control and Wikipedia talk:Manual of Style/Layout/Archive 14#DISPLAYTITLE. --Redrose64 đŸŒč (talk) 15:06, 11 May 2021 (UTC)[reply]

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)[reply]

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 {{Italic title|string|all}} 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)[reply]

@Mr. Stradivarius: could you implement this please? Gonnym (talk) 08:46, 30 May 2021 (UTC)[reply]

String parameter not working anymore

@Gonnym: See e.g. Morceaux de salon, Op. 6 (Rachmaninoff) or Fantaisie, Op. 79 (Fauré). intforce (talk) 10:15, 21 June 2021 (UTC)[reply]

Checking it now. Thanks. Gonnym (talk) 10:16, 21 June 2021 (UTC)[reply]
@Intforce for the time being use {{italic title|string=Morceaux de salon|all=yes}} which works. Gonnym (talk) 10:42, 21 June 2021 (UTC)[reply]
@Gonnym: 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.
				local originalString
				if titleParts.dab then
					originalString = self.dab
				else
					originalString = self.title
				end
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)[reply]

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)[reply]

The Judd Legum article should not have its title in italics

Can someone fix this? Thanks. Nightscream (talk) 03:38, 31 May 2024 (UTC)[reply]

Appears to have already been fixed in this edit. --Redrose64 đŸŒč (talk) 07:49, 31 May 2024 (UTC)[reply]