Template:ImageViewer: Difference between revisions
OlafLangmack (talk | contribs) No edit summary |
OlafLangmack (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
data-left="{{{left|Left}}}" | data-left="{{{left|Left}}}" | ||
data-right="{{{right|Right}}}" | data-right="{{{right|Right}}}" | ||
data-both="{{{both|Both}}}"></div></includeonly> | data-both="{{{both|Both}}}" | ||
data-left-tooltip="{{{left-tooltip|}}}" | |||
data-right-tooltip="{{{right-tooltip|}}}" | |||
data-both-tooltip="{{{both-tooltip|}}}"></div></includeonly> | |||
<noinclude> | <noinclude> | ||
== Image Viewer Widget == | == Image Viewer Widget == | ||
| Line 28: | Line 31: | ||
|right=Righto | |right=Righto | ||
|both=Bother | |both=Bother | ||
|left-tooltip=Drag to reveal first image | |||
|right-tooltip=Drag to reveal second image | |||
|both-tooltip=Drag both buttons simultaneously | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 40: | Line 46: | ||
* '''right''' - Right button text (optional, default: "Right") | * '''right''' - Right button text (optional, default: "Right") | ||
* '''both''' - Both button text (optional, default: "Both") | * '''both''' - Both button text (optional, default: "Both") | ||
* '''left-tooltip''' - Tooltip for left button (optional) | |||
* '''right-tooltip''' - Tooltip for right button (optional) | |||
* '''both-tooltip''' - Tooltip for both button (optional) | |||
=== Notes === | === Notes === | ||
| Line 47: | Line 56: | ||
* The widget is responsive and will scale to fit its container | * The widget is responsive and will scale to fit its container | ||
</noinclude> | </noinclude> | ||