(imagecompare) |
m (example) |
||
Line 28: | Line 28: | ||
Replace 1 with 2 in the parameter names to edit the second image (`file2`, `prompt2`, etc) | Replace 1 with 2 in the parameter names to edit the second image (`file2`, `prompt2`, etc) | ||
example: | |||
``` | |||
{{ImageCompare | |||
|file1=V6-keyart-1.png | |||
|prompt1=a breathtaking mountain view, snow leopard laying down relaxing, magical beasts --ar 3:2 --v 6.0 | |||
|file2=Niji6-keyart-1.png | |||
|prompt2=a magical forest at night, glowing colorful runes, magical beasts, wide shot, full scene --ar 3:2 --niji 6 | |||
}} | |||
``` | |||
renders as: | |||
</markdown> | </markdown> | ||
</noinclude | {{ImageCompare | ||
|file1=V6-keyart-1.png | |||
|prompt1=a breathtaking mountain view, snow leopard laying down relaxing, magical beasts --ar 3:2 --v 6.0 | |||
|file2=Niji6-keyart-1.png | |||
|prompt2=a magical forest at night, glowing colorful runes, magical beasts, wide shot, full scene --ar 3:2 --niji 6 | |||
}} | |||
</noinclude> |
Latest revision as of 19:55, 1 May 2024
Template for comparing 2 images with prompts in a row.
(PS: If someone wants to update this to support 3+ that would be great, but it gets too small on mobile devices for that right now :( )
file1
Name of the file for the first image (eg|file1=DefaultImage.webp
)prompt1
Prompt of the first image (eg,cool dragon --ar 16:9
)link1
Link that opens when you click the image (by default, it opens the file summary for the image)round
Set tofalse
to disable corner rounding for the images
Replace 1 with 2 in the parameter names to edit the second image (file2
, prompt2
, etc)
example:
{{ImageCompare
|file1=V6-keyart-1.png
|prompt1=a breathtaking mountain view, snow leopard laying down relaxing, magical beasts --ar 3:2 --v 6.0
|file2=Niji6-keyart-1.png
|prompt2=a magical forest at night, glowing colorful runes, magical beasts, wide shot, full scene --ar 3:2 --niji 6
}}
renders as: