Steel Plate Picture

Anything related to the content on our wiki (https://wiki.factorio.com/)

Moderator: Bilka

qwe85
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Aug 06, 2015 4:28 pm
Contact:

Steel Plate Picture

Post 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
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Steel Plate Picture

Post 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. ;)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
qwe85
Burner Inserter
Burner Inserter
Posts: 6
Joined: Thu Aug 06, 2015 4:28 pm
Contact:

Re: Steel Plate Picture

Post 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
Grey
Long Handed Inserter
Long Handed Inserter
Posts: 68
Joined: Mon Jun 17, 2013 5:11 pm
Contact:

Re: Steel Plate Picture

Post by Grey »

We're up to finally decide a common guideline for naming here: viewtopic.php?f=50&t=6111
Post Reply

Return to “Wiki Talk”