Module talk:Infobox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 5 users not shown)
Line 12: Line 12:
::: I added the space age variants for producers and stack size. I've renamed the weight parameter so that it's less ambiguous that it's about vehicles and added rocket capacity instead. -- [[User:Bilka|Bilka]] ([[User talk:Bilka|talk]]) - <span style="color:#FF0000">Admin</span> 19:56, 28 October 2024 (UTC)
::: I added the space age variants for producers and stack size. I've renamed the weight parameter so that it's less ambiguous that it's about vehicles and added rocket capacity instead. -- [[User:Bilka|Bilka]] ([[User talk:Bilka|talk]]) - <span style="color:#FF0000">Admin</span> 19:56, 28 October 2024 (UTC)
:::: I spent few minutes and added automatic health quality to [[Module:Infobox/sandbox|sandbox]] if it is fine then add it. Diffrence can be seen here: [https://wiki.factorio.com/Special:ComparePages?page1=Module%3AInfobox&rev1=&page2=Module%3AInfobox%2Fsandbox&rev2=&action=&diffonly=&unhide= module] and [https://wiki.factorio.com/Special:ComparePages?page1=Module%3AInfobox%2Fparsing&rev1=&page2=Module%3AInfobox%2Fparsing%2Fsandbox&rev2=&action=&diffonly=&unhide= parsing]. ~~ [[User:Mefisto1029|Mefisto1029]] ([[User talk:Mefisto1029|talk]]) 09:49, 29 October 2024 (UTC)
:::: I spent few minutes and added automatic health quality to [[Module:Infobox/sandbox|sandbox]] if it is fine then add it. Diffrence can be seen here: [https://wiki.factorio.com/Special:ComparePages?page1=Module%3AInfobox&rev1=&page2=Module%3AInfobox%2Fsandbox&rev2=&action=&diffonly=&unhide= module] and [https://wiki.factorio.com/Special:ComparePages?page1=Module%3AInfobox%2Fparsing&rev1=&page2=Module%3AInfobox%2Fparsing%2Fsandbox&rev2=&action=&diffonly=&unhide= parsing]. ~~ [[User:Mefisto1029|Mefisto1029]] ([[User talk:Mefisto1029|talk]]) 09:49, 29 October 2024 (UTC)
::::: Thanks for the effort, however I think it's more intuitive to use the template directly in the infobox code, like with the other properties. Since the health property is automated with a script, I added it to its output and let the script fill the infoboxes. -- [[User:Bilka|Bilka]] ([[User talk:Bilka|talk]]) - <span style="color:#FF0000">Admin</span> 15:48, 1 November 2024 (UTC)
: Remove "minutes" text from spoil time (see [[Infobox:Raw fish]]). Add science packs "Remaining" (1,2,3,4,6)? ~~ [[User:Mefisto1029|Mefisto1029]] ([[User talk:Mefisto1029|talk]]) 10:57, 2 November 2024 (UTC)
:: Add extra1 as space-age possibility, for example space science pack have diffrent desc in base game and space age. ~~ [[User:Mefisto1029|Mefisto1029]] ([[User talk:Mefisto1029|talk]]) 12:48, 2 November 2024 (UTC)
== Adding support for radar-coverage-distance ==
:As per the title. This is a parameter (radar-coverage-distance) for [[Cargo landing pad]].
:Cheers, [[User:Jouki|Jouki]] ([[User talk:Jouki|talk]]) 01:25, 2 November 2024 (UTC)
== Add more categorizations to make infobox for power generators makes more sense ==
=== add fuel-consumption ===
It is for fusion reactor, fusion generator, nuclear reactor, burner inserter, and boilers, they currently make use of "energy consumption" but fuel reads much better and makes for less confusion. Also it should not be added as _row_type because that limits you a lot in what units can be used.
=== add fluid-output ===
for boiler, heat exchanger, fusion generator, and fusion reactor. currently they use "heat output" but heat should maybe be reserved as a term for heat pipe heat? It is definitely confusing for fusion reactor to say it outputs "heat".
=== add heat-consumption ===
for heat exchanger, it uses "energy consumption" in a similar way like boilers, with the same confusion about electricity drain
=== add distribution-efficiency ===
for beacons. there is an "efficiency" but it most commonly used to refer to power usage efficiency, and clarification here would make the intent clearer.
=== add uses ===
for science packs. factoriopedia says "remaining" which is also an option but less readable and makes less sense in context.
-- [[User:Zaz|Zaz]] ([[User talk:Zaz|talk]]) 22:21, 12 November 2024 (UTC)
== Research names are sometimes parsed incorrectly ==
When a user adds the name of a research with " (research)" after it into one of the fields that uses the "p._vrow_tech" function (required-technologies / allows / boosting-technologies), it adds a second " (research)" to the name and creates spurious links to nonexistent pages. It looks like the "parsing._technology" function is supposed to catch this.
Examples: <br>
[[Special:WhatLinksHere/Agricultural_science_pack_(research)_(research)]] <br>
[[Special:WhatLinksHere/Planet_discovery_Aquilo_(research)_(research)]] <br>
[[Special:WhatLinksHere/Bioflux_(research)_(research)]] <br>
[[Special:WhatLinksHere/Cryogenic_science_pack_(research)_(research)]] <br>
All of the actual links in the infobox still point to the correct research pages, so this doesn't cause any functional issues, but it adds a small amount of clutter to the Special:WantedPages list.
Also, the module has "Recycling" typo'd as "Recyling" twice.
[[User:Orthotoma|Orthotoma]] ([[User talk:Orthotoma|talk]]) 07:44, 15 November 2024 (UTC)

Latest revision as of 07:44, 15 November 2024

Suggestions

  1. There should be option to override all parameters for space age, becouse for example rocket silo in space age have 20 inventory size where in base game 0. It shouldn't be limited to only few parameters.
  2. Section for "Buildable only on: Nauvis.png" and "Craftable only on: Vulcanus.png"
  3. Triggerable technologies, what to do to unlock them.
  4. Spoil result.
  5. Optionally food for machines? Nutrients for biochamber, bioflux for captured biter spawners, etc. ~~ Mefisto1029 (talk) 14:03, 25 October 2024 (UTC)
I would prefer to limit the overridable parameters to only what is needed. I've changed storage size to be overridable.
I added 2, 3 and 4. I ran a script to fill in the technology triggers for the vanilla technologies.
Technically, food is considered a fuel. I think we can use that row for it for now. -- Bilka (talk) - Admin 13:53, 28 October 2024 (UTC)
Stack size should also be able to be overridden, at least for space science pack (edit. producers parameter also should be overridable also for space science). Also do we add weight (originally for trains) parameter to simulate how many items can be carried by rocket assuming it can carry 1t? Or there will be separate parameter for that? ~~ Mefisto1029 (talk) 19:20, 28 October 2024 (UTC)
I added the space age variants for producers and stack size. I've renamed the weight parameter so that it's less ambiguous that it's about vehicles and added rocket capacity instead. -- Bilka (talk) - Admin 19:56, 28 October 2024 (UTC)
I spent few minutes and added automatic health quality to sandbox if it is fine then add it. Diffrence can be seen here: module and parsing. ~~ Mefisto1029 (talk) 09:49, 29 October 2024 (UTC)
Thanks for the effort, however I think it's more intuitive to use the template directly in the infobox code, like with the other properties. Since the health property is automated with a script, I added it to its output and let the script fill the infoboxes. -- Bilka (talk) - Admin 15:48, 1 November 2024 (UTC)
Remove "minutes" text from spoil time (see Infobox:Raw fish). Add science packs "Remaining" (1,2,3,4,6)? ~~ Mefisto1029 (talk) 10:57, 2 November 2024 (UTC)
Add extra1 as space-age possibility, for example space science pack have diffrent desc in base game and space age. ~~ Mefisto1029 (talk) 12:48, 2 November 2024 (UTC)

Adding support for radar-coverage-distance

As per the title. This is a parameter (radar-coverage-distance) for Cargo landing pad.
Cheers, Jouki (talk) 01:25, 2 November 2024 (UTC)

Add more categorizations to make infobox for power generators makes more sense

add fuel-consumption

It is for fusion reactor, fusion generator, nuclear reactor, burner inserter, and boilers, they currently make use of "energy consumption" but fuel reads much better and makes for less confusion. Also it should not be added as _row_type because that limits you a lot in what units can be used.

add fluid-output

for boiler, heat exchanger, fusion generator, and fusion reactor. currently they use "heat output" but heat should maybe be reserved as a term for heat pipe heat? It is definitely confusing for fusion reactor to say it outputs "heat".

add heat-consumption

for heat exchanger, it uses "energy consumption" in a similar way like boilers, with the same confusion about electricity drain


add distribution-efficiency

for beacons. there is an "efficiency" but it most commonly used to refer to power usage efficiency, and clarification here would make the intent clearer.

add uses

for science packs. factoriopedia says "remaining" which is also an option but less readable and makes less sense in context.


-- Zaz (talk) 22:21, 12 November 2024 (UTC)

Research names are sometimes parsed incorrectly

When a user adds the name of a research with " (research)" after it into one of the fields that uses the "p._vrow_tech" function (required-technologies / allows / boosting-technologies), it adds a second " (research)" to the name and creates spurious links to nonexistent pages. It looks like the "parsing._technology" function is supposed to catch this.

Examples:
Special:WhatLinksHere/Agricultural_science_pack_(research)_(research)
Special:WhatLinksHere/Planet_discovery_Aquilo_(research)_(research)
Special:WhatLinksHere/Bioflux_(research)_(research)
Special:WhatLinksHere/Cryogenic_science_pack_(research)_(research)

All of the actual links in the infobox still point to the correct research pages, so this doesn't cause any functional issues, but it adds a small amount of clutter to the Special:WantedPages list.

Also, the module has "Recycling" typo'd as "Recyling" twice.

Orthotoma (talk) 07:44, 15 November 2024 (UTC)