Module:3D viewer advanced/doc

From Inkipedia, the Splatoon wiki
< Module:3D viewer advanced
Revision as of 14:05, 27 May 2021 by Shahar (talk | contribs) (moved module's name so updated the examples, wip.)

This is the documentation page for Module:3D viewer advanced

Usage

Wikitext Output
{{#invoke:3D viewer advanced|viewer_new
  | 3d-image-1 = Minigun
}}
{{#invoke:3D viewer advanced|viewer_new
  | 3d-image-1 = Rainmaker
  | 3d-image-2 = Minigun
  | 3d-viewname-1 = Splatoon 2
  | 3d-viewname-2 = Splatoon
  | 3d-button-1 = default_half
  | 3d-button-2 = default_half
}}

Parameters

3d-image-n
Filename for the nth 3D image, excluding the ' 3D.jpg', where n is an integer that starts at 1.
3d-button-n
View button class for the nth 3D image, where the class is one of the following:
default_half: for default coloured buttons that are half width
default_full or default: for default buttons that are full width
Note: When using this setting, do NOT specify 3d-image-(n+1), 3d-button-(n+1), or 3d-viewname-(n+1).
3d-viewname-n
View name for the nth 3D image, where n is an integer that starts at 1.
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 images are added to the viewer in the order they are defined.