For given dimensions of a resolution, this template shows given pixels per inch resolution.
Usage edit
Syntax: {{ppi|width|height|inches}}
- Example #1:
{{ppi|720|1280|7}}
returns 720 × 1280, 210 ppi - Example #2:
{{ppi|320|240|2.4|-}}
returns 167
Parameters edit
- width in pixels
- height in pixels
- screen size (diagonal, in inches)
- (optional): specify any value (e.g. "-") to show just the PPI figure