Template:MOG: Interactive

From DreamWorks School of Dragons Wiki
Jump to navigation Jump to search
Corresponding Section:
Skin
Pattern
Details
Template documentation
Note: parts of or the entire template might not be visible without values provided.

MOG: Interactive is the interactive version of MOG: Overview, it lets players interact with MOG through applying their desired colors, and create their future dream Dragon.

THE TEMPLATE DOESN'T WORK PROPERLY IF BOTH THE TEMPLATE AND DOC PAGE ARE VISIBLE! TO TRULY TEST, VIEW THE DOC PAGE ALONE!

Usage

MOG: Interactive uses orthographic renders of the Dragon's detail and mask, with no extra lighting or shadows. Through a bunch of JavaScript in the mixture thanks to user:BlazingTwist, the template will automatically apply the detail render over the mask render, and in theory, it should look exactly like how the game displays.

Requirements

  • ORTHOGRAPHIC Renders of the Dragons's detail and mask.
    1. They must be named accordingly (e.g: Abomibumble detail.webp, Abomibumble mask.webp);
    2. They must be in webp format.
  • Default coloration. (MAKE A PAGE FOR THIS!)

Parameters

Template has a total of six parameters.

  1. Name for the corresponding Dragon you will use (e.g: Gronckle).
    • Default is Abomibumble.
  2. Width for the width of the canvas, DO NOT ADD THE UNIT! (e.g: 500, NOT 500px)
    • Default is 750.
  3. Prim (Primary) for the Skin color, make sure to use Hex with the # included (e.g: #ffffff). This applies to the next two parameters.
    • Default is #ff0000.
  4. Sec (Secondary) for the Pattern color.
    • Default is #00ff00.
  5. Tert (Tert) for the Details color.
    • Default is #0000ff.
  6. Group is an optional parameter used for multiple interactive MOGs in one page. If they aren't in the same group, the MOGs will break each other. (e.g: Group=TeamBasic)

Example

{{MOG: Interactive
|Name=Abomibumble
|Width=600
|Prim=#CE9FFF
|Sec=#F2B8EE
|Tert=#B0C1FA
|Group=TeamBasic}}

Will give...

Corresponding Section:
Skin
Pattern
Details