Template:Temtem portrait/doc

This template takes an image, presumably a temtem's main image, and trims it, applies a border, and optionally applies a background. This display is similar to how Temtems are displayed in in-game menus, and makes the trimmed edges of the main temtem images less abrupt.

The outputted image is treated as an inline element.

Examples
produces:

produces:

produces:

produces:

Compatibility
Any browsers that do not support the CSS  attribute will see no effects from this template. To these users, the image displayed in the above examples will appear as normal uses of File:Crystle.png at the given sizes. Most major browsers support this, but at time of writing Internet Explorer and Microsoft Edge, and possibly other smaller browsers, do not. For more information on this feature's support, see https://caniuse.com/#feat=mdn-css_properties_clip-path_basic_shape