User:Abyssal/Multi image converter
Appearance
I need some bulk cosmetic improvements to my implementation of the multiple image template.
2 images
[edit]- Find all the multiple image templates with only two images.
- remove the existing width rows for each image.
- insert "| total_width = 248" between the beginning of the template and the first image.
- insert "| footer = " just before the end of the template
- copy the caption of the first image in the footer section
- insert the text "Left:" just before the caption.
- insert a period at the end of the caption.
- copy the file name of the first image and paste it into a <!-- comment --> between the "Left:" and the text of the caption.
- repeat the process with the second image but labeling it "Right:" instead of left.
- remove all the "width" and caption rows for individual images
Example 2 image input
[edit]Example 2 image output
[edit]
spacer |
---|
3 images
[edit]- Find all the multiple image templates with three images.
- remove the existing width rows for each image.
- insert "| total_width = 330" between the beginning of the template and the first image.
- insert "| footer = " just before the end of the template
- copy the caption of the first image in the footer section
- insert the text "Left:" just before the caption.
- insert a period at the end of the caption.
- copy the file name of the first image and paste it into a <!-- comment --> between the "Left:" and the text of the caption.
- repeat the process with the second and third image but labeling them "Middle:" and "Right:" instead of left.
- remove all the "width" and caption rows for individual images
Example 3 image input
[edit]Example 3 image output
[edit]Modification to the original image caption operation
[edit]Can you make it able to read and correct the captions when they're after the commented out file name? Abyssal (talk) 16:04, 4 April 2019 (UTC)