So due to the 1.35 update we lost the category gallery extension, so I wrote all new code that I feel like is way better you can see it in action here User:Reddo/gallerytest, still need to do work for mobile, but it should work pretty much the same as it does on desktop right now
Topic on Adventures in Odyssey Wiki:Town Hall2
Jump to navigation
Jump to search
mobile should be good now too
Captions don't seem to work on The_Imagination_Station_(book_series)
You need to edit the image page to have a caption for it to show up, it just takes the content of the first section of the files page. Unless there's somewhere else I can pull them from
ah i see thank you.
trying to run a replace text for
catgallery cat="
to
Category gallery/captions|cat=
etc... but it didn't like it
when I was thinking of how i would do captions (back in Aug of 2020) I was exploring pulling the captions from the caption parameter of the Album Image (or book image, or cast and crew image) template used on each of images. Seemed that because we already have a caption parameter why not use that for both? My idea was to use dpl to include a sub template that just grabbed that caption parameter.
I thought of that but for something like the album 69 gallery those 4 images don't all have captions in a different template somewhere else. Maybe instead we could reverse it and pull the caption for the template from the image page. Just a thought I'd have to look at it a bit more. Not as familiar with the templates as I used to be
We could, but there really is not much difference between the two options. Both store the data on the file page, one is ==Caption== example text here
and the other is |caption= example text here
I have not looked to see if the wiki is currently using the image description from the template anywhere. I'm guessing we are not.
Either option we use we can get to the same result. Personally I'd prefer to have it in the image template. It just keeps all the data together. A plus for that is it makes it a tiny bit easier to add the metadata (that is what I'm calling all the data we add to the image page, whether through the template or under a caption heading.) users do not need to add the image template and a heading. Especially with the template wizard system, using templates can be super user friendly.
Oh I was looking at an album page that has a image caption stored there and then nothing on the image page. If there is a caption on the image page already in a template that would be the way to go. But can we get the same caption info from different templates? I know not all images have the same template applied to them
Yes that is the issue, but again not all (or most) of the images do not have a caption heading. As far as the templates I know Template:Album Image, Template:Cast and Crew Image, Template:Episode Image, and Template:Character Image all have the caption parameter. (Can somebody figure out why Template:Album Image is in the Category:Infoboxes category? Seems similar to the current releases oddity.) All the album images are using the Template:Album Image, how many already have a caption? Not sure.