Template:Pixelated

From Star of Providence Wiki
Jump to navigation Jump to search


Details

This template works extremely similarly to the usual image syntax, but ensures that the CSS image-rendering property is set to pixelated.

To more easily use this in other templates, it counter-intuitively accepts the additional unpixelated=1 argument to allow disabling the pixelated rendering.

Examples

Source Result
{{Pixelated|NullShipSprite.png|30px}} NullShipSprite.png


{{Pixelated|NullShipSprite.png|60px|null sprite|link=}} null sprite


{{Pixelated|Null-portrait.png|unpixelated=1}} Null-portrait.png


Template Data

This is the TemplateData documentation for this template, used by VisualEditor and other tools.

Renders an image with pixelated rendering, so that no additional filtering is applied when it's scaled up or down.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Image1

Image to display

Filerequired
First image option2

See mw:Help:Images

Unknownoptional
Second image option3

See mw:Help:Images

Unknownoptional
Third image option4

See mw:Help:Images

Unknownoptional
Fourth image option5

See mw:Help:Images

Unknownoptional
Linklink

Where to link the image

Page namesuggested
Alt Textalt

Alt text for the image

Contentsuggested
Unpixelated?unpixelated

If nonempty, doesn't actually apply pixelated rendering.

Booleanoptional