Template:Layered image

From Remilia Wiki
Jump to navigation Jump to search


Compose one to 32 same-canvas native image layers through LayeredImages. This displays a server-cached composite; it does not upload a new file.

Usage

{{Layered image|Remilio_Mannequin.png|Remilio_Mannequin.png|size=200px|alt=Two layers|link=Milady Maker|link_mode=page|link_layer=2|preview=1}}

Supply consecutive numbered filenames in back-to-front order, without gaps. Layers use the same canvas. The LayeredImages extension renders one cached composite and retains the source-layer identities for previews. Size accepts an integer or px width from 1 to 4096. Preview accepts yes/no, true/false or 1/0.

Parameters

Compose one to 32 same-canvas native image layers through LayeredImages. This displays a server-cached composite; it does not upload a new file.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Sizesize

Displayed composite width, from 1 to 4096 pixels; defaults to 200px.

Stringoptional
Altalt

Plain text describing the image for readers who cannot see it.

Stringoptional
Linklink

Local wiki page title to open from the composite image.

Contentoptional
Link modelink_mode

Composite link mode: none, file or page. Supplying link selects page.

Stringoptional
Link layerlink_layer

One-based layer used for file linking; defaults to the top layer.

Numberoptional
Previewpreview

Use yes to expose the composite to Page Previews; defaults to no.

Booleanoptional
Classclass

Additional CSS classes.

Contentoptional
Layer 11

Native wiki image layer 1, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Filesuggested
Layer 22

Native wiki image layer 2, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 33

Native wiki image layer 3, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 44

Native wiki image layer 4, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 55

Native wiki image layer 5, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 66

Native wiki image layer 6, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 77

Native wiki image layer 7, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 88

Native wiki image layer 8, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 99

Native wiki image layer 9, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1010

Native wiki image layer 10, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1111

Native wiki image layer 11, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1212

Native wiki image layer 12, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1313

Native wiki image layer 13, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1414

Native wiki image layer 14, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1515

Native wiki image layer 15, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1616

Native wiki image layer 16, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1717

Native wiki image layer 17, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1818

Native wiki image layer 18, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 1919

Native wiki image layer 19, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2020

Native wiki image layer 20, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2121

Native wiki image layer 21, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2222

Native wiki image layer 22, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2323

Native wiki image layer 23, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2424

Native wiki image layer 24, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2525

Native wiki image layer 25, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2626

Native wiki image layer 26, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2727

Native wiki image layer 27, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2828

Native wiki image layer 28, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 2929

Native wiki image layer 29, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 3030

Native wiki image layer 30, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 3131

Native wiki image layer 31, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional
Layer 3232

Native wiki image layer 32, in back-to-front order. Layers must be contiguous and have matching canvas dimensions.

Fileoptional