Topic on User talk:Harakoni

Jump to navigation Jump to search

"Paintable" boolean property

7
Summary by Harakoni

Added property to infobox

Daylong698 (talkcontribs)

Hi Harakoni,

Is there a reason why the "paintable" boolean property is not visible by default in the info boxes? I've noticed that in several pages, the property & value is provided (e.g. in Toy box), but it is not displayed currently.

Arcangelus (talkcontribs)

Hello Daylong698

Not Harakoni, but the reason is that "Template:Infobox main" was not updated to use that value. It should have a section added along the lines of:

{ {#if: { { {paintable|}} } | { {#if: { {#var:setProperty}} | { {#set:Paintable= { { {paintable|}}} }} }}

;Paintable

:{ {ucfirst:{ { {placeable|} } } } }

}}

Changing that template always leaves the wiki temporally unavailable, which is why is not updated very often.

PD: I wrote the above before submitting the change, but it was never sent. Ups.

Harakoni (talkcontribs)

Nice. Always great to see an issue reported and already fixed. Implementation looks good and its working on the pages.

Daylong698 (talkcontribs)

Thanks a lot, Arcangelus!

Daylong698 (talkcontribs)

I might need to reopen this topic. I was editing the Spacedrone page, and noticed that although I wrote "False" in the wiki, the infobox displays "True" as the value of "paintable" nevertheless. In the Crashed_shuttle page, it is also paintable=false, however, the infobox displays nothing. I've tried to change the boolean value to capital "F", but it does not display differently. At the same time, in the Property:Paintable page, the values are displayed correctly, therefore I assume that there might be something happening with the infobox displaying the value.

Harakoni (talkcontribs)

Ah I see the issue. It was setting the property correctly but it was displaying "placeable" instead of "paintable". Fixed.

Daylong698 (talkcontribs)

Thanks, looks good now

Reply to ""Paintable" boolean property"