This template generates a code to designate a video or graphics display resolution according to recommendations by VESA CVT.[1] It internally calls {{resratio}} if necessary.

Usage edit

Generate standard VESA display moniker: pixel count and aspect ratio code

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
widthx 1

horizontal resolution

Default
0
Example
640
Numbersuggested
heighty 2

vertical (smaller) resolution

Default
x
Example
480
Numbersuggested
countMpx 3

number of pixels

Default
x*y
Example
307200
Numberoptional
aspect ratioAR 4

image or video display aspect ratio in landscape orientation

Default
x/y
Example
1.333
Numberoptional