Template:7seg/doc

From Constructed Worlds Wiki
Jump to navigation Jump to search
7 segment display labeled.svg

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for 7seg

Embed SVG images of seven-segment characters

Template parameters

ParameterDescriptionTypeStatus
character1

letter or digit to display with 7 segments, currently Latin and Arabic respectively only

Linerequired
width2

CSS pixel width of the image

Default
60px
Lineoptional
code3

override alphabetic code to use (abcdef from top clockwise, g in the middle)

Lineoptional

Example

0 1 2 3 4 5 6 7 8 9
A b C d E F

Note that the hexadecimal renderings are non-standard and require an explicit switch of parameter to use uppercase A, C, E, F but lowercase b & d.