Template talk:Infobox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 47: Line 47:
This is a problem in the case of the [[heat exchanger]] where it consumes energy through heat and not the "burner" condition. Is there an existing method of doing this?
This is a problem in the case of the [[heat exchanger]] where it consumes energy through heat and not the "burner" condition. Is there an existing method of doing this?
--[[User:Soundfoam|Soundfoam]] ([[User talk:Soundfoam|talk]]) 13:12, 2 November 2024 (UTC)
--[[User:Soundfoam|Soundfoam]] ([[User talk:Soundfoam|talk]]) 13:12, 2 November 2024 (UTC)
: On a related note, energy penalties and bonuses of modules are not displayed at all because they lack the energy type condition (see e.g. [[Infobox:Productivity module]]). A workaround I found is to append "electric" at the end (e.g. [[Infobox:Speed module]]), but this is not correct because the biochamber doesn't consume electric energy but is affected by modules. [[User:Nvscalling|Nvscalling]] ([[User talk:Nvscalling|talk]]) 01:31, 11 November 2024 (UTC)


== Problem with technologies if they have a different name than the item ==
== Problem with technologies if they have a different name than the item ==
Line 55: Line 57:


The fuel-value parameter does not work for [[bioflux]] or [[nutrients]], as these use non-burner fuel types. [[User:Alfonse|Alfonse]] ([[User talk:Alfonse|talk]]) 17:35, 7 November 2024 (UTC)
The fuel-value parameter does not work for [[bioflux]] or [[nutrients]], as these use non-burner fuel types. [[User:Alfonse|Alfonse]] ([[User talk:Alfonse|talk]]) 17:35, 7 November 2024 (UTC)
== How do we want to display units in Quality-template ==
Do we want
{{Quality|1|2|3|4|5}} MW
or
{{Quality|1 MW| 2 MW| 3 MW| 4 MW| 5 MW}}
Compare [[Construction robot]] with [[Logistic robot]] for an in-infobox-context example. (until its reverted i suppose)
I'd argue the latter makes most sense, and that is the way it looks for almost all units (time,distance,degrees) except in some cases I've seen watts and joules extracted to be on the outside of the quality template. Should we fix those? -- [[User:Zaz|Zaz]] ([[User talk:Zaz|talk]]) 10:33, 13 November 2024 (UTC)
* I'd prefer the latter too, because in some cases the quality boost from power pushes the building's production/consumption to MWs instead of kWs. It also just feels much more readable. [[User:Brin|Brin]] ([[User talk:Brin|talk]]) 17:57, 13 November 2024 (UTC)
* The code does become somewhat less readable. MW goes through the translation template so there is significant bloat. Also sometimes the layout decides to put the MW part on a new line, increasing the height of the table. Some pages have solved this by adding   which solves the layout problem but makes the bloat worse. -- [[User:Zaz|Zaz]] ([[User talk:Zaz|talk]]) 06:58, 14 November 2024 (UTC)
* look at [[Thruster]] as an example. If we inline the units, the sidebar becomes too wide and the layout breaks.
[[File:Thruster page infobox layout issue A.png|thumb]]
[[File:Thruster page infobox layout issue B.png|thumb]]
--[[User:Zaz|Zaz]] ([[User talk:Zaz|talk]]) 15:22, 14 November 2024 (UTC)

Latest revision as of 15:23, 14 November 2024

I haven't found a parameter for the simple size (or area) of a machinery (like 3x3 for assembling machines...). I think we should add a parameter like {{Infobox/row|Size|{{{size|}}}|{{{size}}} {{Translation|tiles}} }} --Lord joshi (talk) 12:34, 2 March 2017 (UTC)

I had a look at the template and came to an agreement with the other admin: We'll be using the dimensions parameter. The format of the parameter should be (X-dimensions)x(Y-dimension) for entities that can't be rotated and (Bigger number)x(Smaller number) for entites that can be rotated, like the splitter. --Bilka (talk) 18:47, 2 March 2017 (UTC)

Appearance suggestion?

Hey there!

Strange question... do you think it'd look nicer if the arrow for showing the internal name and prototype would look better if it was placed underneath the edit link (as in, aligned to the right, and approximately on the same line as the category)? In my opinion, I think it maybe might look better because right now it takes up so much extra space? I know nothing about UX! >.>

I made the change on Template:Infobox/sandbox, however the arrow is much harder to "find". Because of that the current decision is to not modify the position in the infobox. -- Bilka (talk) - Admin 19:44, 15 August 2017 (UTC)
Thanks for the amazingly quick response and the effort you put into checking it out though! This wiki is awesome because of you :D I'll try to read more into the style guides and how you like to run the wiki too. I'll definitely start by getting my pages to match the superb quality of the rest of the wiki. I also made the change to my user style if anyone is interested User:Lexxy_Fox/common.css --Lexxy Fox (talk) 00:33, 16 August 2017 (UTC)


Vehicle top speed

Should probably have an extra Infobox line for vehicle top speed. As it stands right now, none of the pages on higher tier fuels (solid, rocket and nuclear) say anything about the fuel's top speed increase, which arguably is one of the most important reasons to actually switch to a higher tier fuel. --Empirebuilder1 (talk) 22:25, 30 April 2018 (UTC)

Added. -- Bilka (talk) - Admin 07:55, 1 May 2018 (UTC)

Move Prototype type above Internal name

Please move the Prototype type up one line. Modders use data.raw["type"]["name"], so they want the type first. --DaveMcW (talk) 03:21, 27 January 2019 (UTC)

Thanks for the suggestion, I changed it. -- Bilka (talk) - Admin 10:06, 27 January 2019 (UTC)

It is not possible to nullify vaule for space age mod

If there is for example "allows" in base game, but space-age do not "allows" anything then there is no way to remove it for space age. ~~ Mefisto1029 (talk) 06:43, 25 October 2024 (UTC)

I was wondering whether that'd be a problem... Which technology needs this functionality? -- Bilka (talk) - Admin 10:03, 25 October 2024 (UTC)
Speed module 3 (research) is not required for rocket silo tech. ~~ Mefisto1029 (talk) 10:12, 25 October 2024 (UTC)
Thanks! I changed the code so that if you set space-age-allows = none it will override the default and hide the row. -- Bilka (talk) - Admin 12:45, 25 October 2024 (UTC)

Adding Rocket Capacity as a parameter to infobox

With Space Age, we should add document the rocket capacity of items, as this is a new metadata value that would be useful to viewers. ~~ Jopika — Preceding unsigned comment added by Jopika (talkcontribs) 05:07, 28 October 2024 (UTC)

Added as rocket-capacity. -- Bilka (talk) - Admin 20:42, 1 November 2024 (UTC)

Asteroid Collector - Infobox lines

I was wondering if we should have extra infobox lines for the Asteroid collector, namely collector-arm-quantity, collection-area, and collector-arm-max-speed, as it shows in the in game factoriopedia. --Soundfoam (talk) 8:34, 29 October 2024 (UTC)

Added as asteroid-collection-area, asteroid-collection-arm-speed and asteroid-collection-arm-count since they're affected by quality. -- Bilka (talk) - Admin 20:42, 1 November 2024 (UTC)

Rotation Speed Parameter

Could anyone here add rotation speed as a parameter? Normally this info on inserters are reserved for deeper in the article, but since quality now directly boosts rotation speed, it should probably be presented in the info box. Brin (talk) 16:31, 31 October 2024 (UTC)

Added as rotation-speed. -- Bilka (talk) - Admin 20:42, 1 November 2024 (UTC)

'Energy' parameter doesn't have a heat condition

This is a problem in the case of the heat exchanger where it consumes energy through heat and not the "burner" condition. Is there an existing method of doing this? --Soundfoam (talk) 13:12, 2 November 2024 (UTC)

On a related note, energy penalties and bonuses of modules are not displayed at all because they lack the energy type condition (see e.g. Infobox:Productivity module). A workaround I found is to append "electric" at the end (e.g. Infobox:Speed module), but this is not correct because the biochamber doesn't consume electric energy but is affected by modules. Nvscalling (talk) 01:31, 11 November 2024 (UTC)

Problem with technologies if they have a different name than the item

If the name of the technology and the item are different (at least in Polish), the technology infobox displays the item name. Example here: Processing_unit_(research)/pl. Items are usually singular, but technologies are plural. ~~ Mefisto1029 (talk) 16:19, 2 November 2024 (UTC)

Fuel-value cannot handle fuel types other than "burner"

The fuel-value parameter does not work for bioflux or nutrients, as these use non-burner fuel types. Alfonse (talk) 17:35, 7 November 2024 (UTC)

How do we want to display units in Quality-template

Do we want

Quality normal.png 1
Quality uncommon.png 2 Quality rare.png 3
Quality epic.png 4 Quality legendary.png 5

MW

or

Quality normal.png 1 MW
Quality uncommon.png 2 MW Quality rare.png 3 MW
Quality epic.png 4 MW Quality legendary.png 5 MW

Compare Construction robot with Logistic robot for an in-infobox-context example. (until its reverted i suppose)

I'd argue the latter makes most sense, and that is the way it looks for almost all units (time,distance,degrees) except in some cases I've seen watts and joules extracted to be on the outside of the quality template. Should we fix those? -- Zaz (talk) 10:33, 13 November 2024 (UTC)

  • I'd prefer the latter too, because in some cases the quality boost from power pushes the building's production/consumption to MWs instead of kWs. It also just feels much more readable. Brin (talk) 17:57, 13 November 2024 (UTC)
  • The code does become somewhat less readable. MW goes through the translation template so there is significant bloat. Also sometimes the layout decides to put the MW part on a new line, increasing the height of the table. Some pages have solved this by adding   which solves the layout problem but makes the bloat worse. -- Zaz (talk) 06:58, 14 November 2024 (UTC)
  • look at Thruster as an example. If we inline the units, the sidebar becomes too wide and the layout breaks.
Thruster page infobox layout issue A.png
Thruster page infobox layout issue B.png

--Zaz (talk) 15:22, 14 November 2024 (UTC)