Caves of Qud Wiki talk:To-do and Known Issues: Difference between revisions

No edit summary
Line 139: Line 139:
:I noticed the opposite behavior (the Farmers' Guild navbox links to the merchant version of the Apple Farmer). Either way, this is a bit tricky to fix because [[:Template:Creature navbox query]] currently creates a favilink using GeneralData.PlainName, which is the same for both of these. We can't simply update the query to use ID, because that would break other navboxes (namely [[:Template:Robots Navbox]]). So we either need a new parameter for creature navbox query to allow using the '''favilink id''' template instead of the '''favilink''' template, or we need to do something else, such as overriding the display name of the merchant in QBE to "apple farmer (merchant)", which would then give it a unique PlainName. I would probably recommend the latter solution, but will wait a bit in case Teamtoto has other thoughts.
:I noticed the opposite behavior (the Farmers' Guild navbox links to the merchant version of the Apple Farmer). Either way, this is a bit tricky to fix because [[:Template:Creature navbox query]] currently creates a favilink using GeneralData.PlainName, which is the same for both of these. We can't simply update the query to use ID, because that would break other navboxes (namely [[:Template:Robots Navbox]]). So we either need a new parameter for creature navbox query to allow using the '''favilink id''' template instead of the '''favilink''' template, or we need to do something else, such as overriding the display name of the merchant in QBE to "apple farmer (merchant)", which would then give it a unique PlainName. I would probably recommend the latter solution, but will wait a bit in case Teamtoto has other thoughts.
: - [[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 19:23, 27 December 2020 (UTC)
: - [[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 19:23, 27 December 2020 (UTC)
::Odd, now it has flipped the other way for me too.
:: - [[User:Pokedragonboy|Pokedragonboy]] ([[User talk:Pokedragonboy|talk]]) 22:41, 27 December 2020 (UTC)
1,621

edits