Widget:ModelViewer: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
src="<!--{$src|escape}-->" | src="<!--{$src|escape}-->" | ||
alt="<!--{$alt|escape|default:'3D Model'}-->" | alt="<!--{$alt|escape|default:'3D Model'}-->" | ||
style="width: <!--{$width|escape|default:' | style="width: <!--{$width|escape|default:'240px'}-->; height: <!--{$height|escape|default:'165px'}-->;" | ||
<!--{if $poster}-->poster="<!--{$poster|escape}-->"<!--{/if}--> | <!--{if $poster}-->poster="<!--{$poster|escape}-->"<!--{/if}--> | ||
Line 77: | Line 77: | ||
"width": { | "width": { | ||
"label": "Width", | "label": "Width", | ||
"description": "Width of the viewer (e.g., '100%' or ' | "description": "Width of the viewer (e.g., '100%' or '200px').", | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "240px" | ||
}, | }, | ||
"height": { | "height": { | ||
"label": "Height", | "label": "Height", | ||
"description": "Height of the viewer (e.g., ' | "description": "Height of the viewer (e.g., '100%' or '200px').", | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "165px" | ||
}, | }, | ||
"poster": { | "poster": { |