Editing Forum:Spacing when there are multiple transaction types
From Fallen London Wiki (Staging)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
<!--END-->- [[User:Stelio|Stelio]] ([[User talk:Stelio|talk]]) 13:02, 12 January 2024 (UTC) | <!--END-->- [[User:Stelio|Stelio]] ([[User talk:Stelio|talk]]) 13:02, 12 January 2024 (UTC) | ||
: Thanks for pointing it out. FYI, the reason for this is slightly more arcane.<br><br>If you can buy something for items, the first thing [[Template:Transaction]] does is setting a category for the loss of said item (in this case, [[:Category:Rat-Shilling Loss]]). Categories, however, gobble up all the whitespace around them (which makes sense if they are at the end of an article, but not so much if they are inserted between "normal" text). So no matter how much space you put around the Transaction calls, it all gets collapsed into an empty string (and not into one space as HTML would do).<br><br>You can see this by going to [[Special:ExpandTemplates]] and putting <nowiki>{{:Well-Placed Pawn}}</nowiki> in the input. <br><br>I am not sure how to fix this; I know I researched the issue at some point, but I don't think I ever came up with a solution. [[User:RagCall|RagCall]] ([[User talk:RagCall|talk]]) 14:59, 17 January 2024 (UTC) | : Thanks for pointing it out. FYI, the reason for this is slightly more arcane.<br><br>If you can buy something for items, the first thing [[Template:Transaction]] does is setting a category for the loss of said item (in this case, [[:Category:Rat-Shilling Loss]]). Categories, however, gobble up all the whitespace around them (which makes sense if they are at the end of an article, but not so much if they are inserted between "normal" text). So no matter how much space you put around the Transaction calls, it all gets collapsed into an empty string (and not into one space as HTML would do).<br><br>You can see this by going to [[Special:ExpandTemplates]] and putting <nowiki>{{:Well-Placed Pawn}}</nowiki> in the input. <br><br>I am not sure how to fix this; I know I researched the issue at some point, but I don't think I ever came up with a solution. [[User:RagCall|RagCall]] ([[User talk:RagCall|talk]]) 14:59, 17 January 2024 (UTC) | ||
− |