Talk:Article Template

Gallery change
Since gamepedias was updated, it is possible to use better gallery tags, see. So how about using the packed-hover tag. I tink it looks good, it works better with the page layout and we can use it for locations too and won't need that custom gallery anymore.

Items (text on hover)

 * Let's use 200px then. Even numbers are better because there is ehmmm... you know... ¯\_(⊙︿⊙)_/¯ --RocknRolla7 (talk) 19:28, 21 January 2015 (UTC)

i think the old pics had width=300, but rocknrolla used height=300--TheBlackDracula (talk)


 * That makes sense. All good now! --Tatanko (talk) 19:38, 21 January 2015 (UTC)


 * The gallery extension doesn't support 'width' with 'packed'/'packed-hover' mode. It does the width automatically. --RocknRolla7 (talk) 19:44, 21 January 2015 (UTC)


 * makes sense to keep the pics all in one row/line, we just have to keep this in mind--TheBlackDracula (talk)


 * Is it possible to change the alignment of the gallery? By default it is centered; what if I need, say, a single image aligned to the right (for style purposes)? I'll post the old code below so you know what I mean, but an example of this would be the Shelter page. I can continue to use the old code for single images like this, but to me it would be nicer to have a border-less style that matches the new gallery code. --Tatanko (talk) 20:09, 21 January 2015 (UTC)




 * Never mind, I answered my own question. I keep forgetting about the "thumb" option in the code not needing to be there.




 * Sooo why is it that the "widths" modifier for the gallery tag doesn't seem to change anything? According to it's described purpose on the Gampedia Help wiki it should work, but it doesn't seem to have any function here on the DayZ wiki. I'm thinking I could use it to control image sizes a little bit better so that things don't look so drastically different from browser-to-browser, but it doesn't seem to do anything. I am for sure using "widths" too (plural), not "width". --Tatanko (talk) 12:57, 23 January 2015 (UTC)

as rocknrolla said above: the gallery with packed doesnt support width as an attribute--TheBlackDracula (talk)


 * Oops, I guessed I missed that. Sorry. --Tatanko (talk) 14:00, 23 January 2015 (UTC)