Page 1 of 1

Steel Plate Picture

Posted: Sun Aug 23, 2015 8:07 am
by qwe85
Hi

I recently started updating pages to use the machinery, Item and so on templates, but every time I have to include Steel Plates I get into some trouble.
There an example from steel chest.

Code: Select all

{{Machinery
|health=200
|input=Time, 0.5 + Steel-plate, 8 
|technologies=Steel processing
|consumers=Manual + Assembling machine 1 + Assembling machine 2 + Assembling machine 3
|producers=Manual + Assembling machine 1 + Assembling machine 2 + Assembling machine 3
}}
The correct way of doing input would be like this "Steel Plate" with capital P and all

Code: Select all

|input=Time, 0.5 + Steel Plate, 8
It would be better like that because then the page automatically find the picture and when someone click it they get redirected to the page on Steel plates.
However the problem is that picture "Steel Plate" gets is Steel-bar.png which is wrong, it should get Steel-plate.png

The only way I have found to get the picture right is by writing Steel-plate in input, but then the redirect doesn't work.

Does anyone know what happens here and perhaps a way to fix it?


/qwe85

Re: Steel Plate Picture

Posted: Sun Aug 23, 2015 8:50 am
by ssilk
Seems to me wrong naming of

https://forums.factorio.com/wiki/inde ... Iron_Plate
vs.
https://forums.factorio.com/wiki/inde ... teel-plate

Names with underscore are handled as if they have a blank withing. Blank is used as argument separator. Hum. Just a guess. Something like this, I'm still not in the habit to look deep into that. ;)

Re: Steel Plate Picture

Posted: Sun Aug 23, 2015 9:44 am
by qwe85
The reason why the link doesn't work is indeed because the name Steel-plate is wrong and should be written as Steel Plate, but if I fix the name it will use the wrong picture.

Instead of using this as it should and one would think it should
https://forums.factorio.com/wiki/inde ... -plate.png

it will use this, which is wrong.
https://forums.factorio.com/wiki/inde ... el-bar.png


/qwe85

Re: Steel Plate Picture

Posted: Sun Mar 13, 2016 9:27 am
by Grey
We're up to finally decide a common guideline for naming here: viewtopic.php?f=50&t=6111