Template:ImageCompare: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<html> <script defer src="https://cdn.jsdelivr.net/npm/img-comparison-slider@8/dist/index.js" ></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/img-comparison-slider@8/dist/styles.css" /> <img-comparison-slider> <img slot="first" src="/wiki/Special:FilePath/{{{PictureLeft}}}?width={{{Picturewidth}}}" style="width:{{{Picturewidth}}}px;" /> <img slot="second" src="/wiki/Special:FilePath/{{{PictureRight}}}?width={{{Picturewidth}}}" style="wid...") |
No edit summary |
||
Line 14: | Line 14: | ||
</img-comparison-slider> | </img-comparison-slider> | ||
</html> | </html> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Picture Left": { | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"Picture Width": { | |||
"type": "number", | |||
"required": true | |||
}, | |||
"Picture Right": { | |||
"type": "wiki-file-name", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"Picture Left", | |||
"Picture Right", | |||
"Picture Width" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 13:57, 24 February 2025
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Picture Left | Picture Left | no description | File | required |
Picture Right | Picture Right | no description | File | required |
Picture Width | Picture Width | no description | Number | required |