Module:3D viewer advanced/doc
< Module:3D viewer advanced
Revision as of 20:55, 8 September 2014 by Moussekateer (talk | contribs) (Moussekateer moved page Module:3D viewer/sandbox/doc to Module:3D viewer advanced/doc without leaving a redirect)
This is the documentation page for Module:3D viewer advanced
Usage
{{#invoke:Module:3D viewer|viewer_new | 3d-image-0 = Gunslinger RED 3D.jpg | 3d-button-0 = red | 3d-viewname-0 = RED | 3d-image-1 = Gunslinger BLU 3D.jpg | 3d-button-1 = blu | 3d-viewname-1 = BLU ... }}
Parameters
- 3d-startframe (optional)
- Allows you to override the starting frame for the 3D images, by setting to an integer value between 0 and 15.
- 3d-image-n
- Filename for the nth 3D image, where n is an integer that starts at 0.
- 3d-button-n
- View button class for the nth 3D image, where the class is one of the following:
- red: for RED coloured buttons
- blu: for BLU coloured buttons
- default_half: for default coloured buttons that are half width
- default_full or default: for default coloured buttons that are full width
- A RED view button should (in theory) always be paired with a BLU view button. Half width default coloured buttons should always (in theory) be paired with another half width default coloured button.
- 3d-viewname-n
- View name for the nth 3D image, where n is an integer that starts at 0.
3D images are added to the viewer in the order they are defined.