Template:F//doc

Usage
This template produces the notation for f-number, stylizing the f as a script '' as is common in photography.

This template accepts up to 2 unnamed parameters, to create an f-number such as, or an aperture range such as given for variable-aperture zoom lenses: . When a second aperture parameter is provided, the range is separated by an en-dash (in accordance with MOS:NUMRANGE).

Accessibility note
This template emits a standard f character that is stylized with CSS in order to discourage use of visually-stylized, but incorrect or inaccessible, alternatives such as:


 * 𝑓, "Mathematical small f" (Unicode U+1D453);
 * ƒ, "Latin Small Letter F with Hook" (U+0192) – often misused by Mac keyboard users (Opt) for being easy to type, and visually similar to the previous character;
 * $$f$$,.
 * $$f$$,.

Note that the last two examples above are read as the character 'f' by screeen readers.

The entire output content is wrapped in a HTML tag for semantic purposes, fallback copy/paste, and screen reader recognition for accessibility.

TemplateData
{	"description": "Displays a photographic f-number with a script 'f/'", "params": { "1": {			"label": "aperture", "description": "f-number (aperture). Usually a number, but accepts text.", "required": false, "suggested": true, "example": "2.8", "type": "number" },		"2": {			"label": "2nd aperture", "description": "Second aperture, to denote an aperture range. Separated from first aperture with an en-dash.", "required": false, "suggested": false, "example": "4", "type": "number" },		"link": { "label": "link", "description": "Boolean. Makes the entire output a wikilink to the f-number article.", "required": false, "suggested": false, "example": "yes, y", "type": "string" }	} }