Changes

Line 337: Line 337:     
Sorry for acting like a dumb head. I was trying to fix an icon alignment issue on [[Squid Ink Ravioli]] (see [https://imgur.com/a/OXMfRLB screenshots]). It was caused by the <samp><nowiki>{{duration|}}</nowiki></samp> template having extra CSS (namely, <samp>margin</samp> settings), but I couldn't find how to insert inline CSS, so I figured out I could make a way to insert multiple <samp><nowiki>{{duration|}}</nowiki></samp> templates into that place. Due to how MediaWiki templates work, I had to modify multiple templates only to ''find a way''. I have undone all unnecessary changes and left only [[Template:RecipeRow]] and [[Template:Infobox cooking]] modified, adding a <samp>duration2</samp> parameter to allow the latter template to manage content correctly. I'd like to know the correct solution to this page layout issue should one be discovered in the future. - [[User:IBugOne|IBugOne]] ([[User talk:IBugOne|talk]]) 17:10, 9 August 2022 (UTC)
 
Sorry for acting like a dumb head. I was trying to fix an icon alignment issue on [[Squid Ink Ravioli]] (see [https://imgur.com/a/OXMfRLB screenshots]). It was caused by the <samp><nowiki>{{duration|}}</nowiki></samp> template having extra CSS (namely, <samp>margin</samp> settings), but I couldn't find how to insert inline CSS, so I figured out I could make a way to insert multiple <samp><nowiki>{{duration|}}</nowiki></samp> templates into that place. Due to how MediaWiki templates work, I had to modify multiple templates only to ''find a way''. I have undone all unnecessary changes and left only [[Template:RecipeRow]] and [[Template:Infobox cooking]] modified, adding a <samp>duration2</samp> parameter to allow the latter template to manage content correctly. I'd like to know the correct solution to this page layout issue should one be discovered in the future. - [[User:IBugOne|IBugOne]] ([[User talk:IBugOne|talk]]) 17:10, 9 August 2022 (UTC)
 +
:How stupid of me! I examined the same page in other languages looking for remaining issues (found the [[pt:Ravioli de Tinta de Lula|Portuguese]] and [[ru:Равиоли с чернилами кальмара|Russian]] versions with this issue still live) and only to note how the [[es:Ravioli de tinta de calamar|Spanish]] page solved it ''perfectly'' by inserting the image directly (without calling the template for a 2nd time). I'll promptly adopt that solution. - [[User:IBugOne|IBugOne]] ([[User talk:IBugOne|talk]]) 17:20, 9 August 2022 (UTC)
413

edits