Template:Resrow/doc

{ "description": "This template generates a nice-looking table row for lists of resolutions.", "params": { "x": { "aliases": ["1"], "label": "width", "description": "columns, the larger pixel dimension", "type": "number", "example": "480", "required": true }, "y": { "aliases": ["2"], "label": "height", "description": "lines, the smaller pixel dimension", "example": "234", "inherits": "x" }, "a": { "aliases": ["3"], "label": "acronym", "description": "mnemonic abbreviation", "example": "WQVGA", "type": "string/line", "required": false }, "n": { "aliases": ["4"], "label": "name", "description": "colloquial name, usually should also link to article", "example": "Wide Quarter VGA", "suggested": true, "inherits": "a" }, "s": { "aliases": ["5"], "label": "SAR", "description": "native or stored aspect ratio (with colon), the division for sorting is done automatically, but the colloquial ratio is determined for some frequent values only", "example": "80:39", "default": "x/y", "inherits": "a" }, "d": { "aliases": ["6"], "label": "DAR", "description": "display(ed) aspect ratio (with colon)", "example": "16:9", "default": "p*s", "autovalue": "16:9", "suggested": true,

"inherits": "a"

}, "c": { "aliases": ["7"], "label": "CAR", "description": "calculated aspect ratio (for example: 320x220 = 16:11, not 4:3)", "example": "16:11", "default": "y/x", "autovalue": "16:9", "suggested": true, "inherits": "s" },

"e": { "aliases": ["7"], "label": "CARP", "description": "calculated aspect ratio for portrait (for example: 220x320 = 11:16, not 2:3)", "example": "16:11", "default": "x/y", "autovalue": "9:16", "suggested": true, "inherits": "c" }, "p": { "aliases": ["8"], "label": "PAR", "description": "pixel aspect ratio", "example": "39:45", "default": "d/s", "inherits": "a" }, "f": { "aliases": ["9"], "label": "frame rate", "description": "frame (not field) frequency in hertz", "example": "30", "type": "number", "required": false }, "u": { "aliases": ["10"], "label": "example usage", "description": "popular devices or scenarios using this resolution", "example": "many portable DVD players claiming to support 16:9 resolution", "inherits": "a" } }}

If no name or acronym is provided, the standard VESA code is generated from width and height by VESA.