Satisfactory Wiki
(re)
(re)
Line 2: Line 2:
 
The idea behind this is, these infoboxes automatically update the component page such as [[Iron Ingot]], you can see alternative steel is being added there. --[[User:Kwjcool321|Kwjcool321]] ([[User talk:Kwjcool321|talk]]) 04:52, 5 May 2019 (UTC)
 
The idea behind this is, these infoboxes automatically update the component page such as [[Iron Ingot]], you can see alternative steel is being added there. --[[User:Kwjcool321|Kwjcool321]] ([[User talk:Kwjcool321|talk]]) 04:52, 5 May 2019 (UTC)
 
:Hi, good idea! We need to consider that each infobox will create one database-row, though, so each page should contain at most one infobox. We could just display the resource-breakdown without infobox, as most of the infos in the infobox are identical. The only differences would be the ingredients, the productCount and maybe the craftingTime. I'll set up an example on how it could be displayed. --[[User:Cadaei|Cadaei]] ([[User talk:Cadaei|talk]]) 10:09, 5 May 2019 (UTC)
 
:Hi, good idea! We need to consider that each infobox will create one database-row, though, so each page should contain at most one infobox. We could just display the resource-breakdown without infobox, as most of the infos in the infobox are identical. The only differences would be the ingredients, the productCount and maybe the craftingTime. I'll set up an example on how it could be displayed. --[[User:Cadaei|Cadaei]] ([[User talk:Cadaei|talk]]) 10:09, 5 May 2019 (UTC)
  +
:Now I see, you want that additional row to be added to have the usedToCraft ([[Template:CraftingUsage]]) updated as well. Let's see if that works as expected, would be useful. I think the [[template:craftingTable]] breaks the layout if other tables are put between two of these tables.--[[User:Cadaei|Cadaei]] ([[User talk:Cadaei|talk]]) 10:39, 5 May 2019 (UTC)

Revision as of 10:39, 5 May 2019

Hi I wanted to try out using info box for alternatives. The problem is that the info box visual become buggy in collapsed table and the next template following this table also become buggy. Need help on the formatting. The idea behind this is, these infoboxes automatically update the component page such as Iron Ingot, you can see alternative steel is being added there. --Kwjcool321 (talk) 04:52, 5 May 2019 (UTC)

Hi, good idea! We need to consider that each infobox will create one database-row, though, so each page should contain at most one infobox. We could just display the resource-breakdown without infobox, as most of the infos in the infobox are identical. The only differences would be the ingredients, the productCount and maybe the craftingTime. I'll set up an example on how it could be displayed. --Cadaei (talk) 10:09, 5 May 2019 (UTC)
Now I see, you want that additional row to be added to have the usedToCraft (Template:CraftingUsage) updated as well. Let's see if that works as expected, would be useful. I think the template:craftingTable breaks the layout if other tables are put between two of these tables.--Cadaei (talk) 10:39, 5 May 2019 (UTC)