Difference between revisions of Template:VisionStats

Jump to navigation Jump to search
(Simplified.)
mNo edit summary
Line 12: Line 12:
| 0011 = orange
| 0011 = orange
| 0001 = red
| 0001 = red
| #default = purple
| 0000 = purple
}};" | {{{left sphere|}}}
}};" | {{{left sphere|}}}
| style="background-color: {{#switch:
| style="background-color: {{#switch:
Line 20: Line 20:
| 0011 = orange
| 0011 = orange
| 0001 = red
| 0001 = red
| #default = purple
| 0000 = purple
}};" | {{{right sphere|}}}
}};" | {{{right sphere|}}}
|- {{#if: {{{left cylinder|}}}{{{right cylinder|}}} | | style="display: none;" }}
|- {{#if: {{{left cylinder|}}}{{{right cylinder|}}} | | style="display: none;" }}

Revision as of 05:57, 27 May 2020

This template is used for showing off your current prescription.

Documentation

All fields are optional.

Example: {{VisionStats | title = Normalised | left sphere = -5.00 | right sphere = -5.50 | left cylinder = -1.50 | right cylinder = -1.75 | left axis = 005 | right axis = 160 | left prism = 0.5 BU | right prism = 0.5 BD }}

Produces:

Normalised
Left Right
Sphere -5.00 -5.50
Cylinder -1.50 -1.75
Axis 005 160
Prism 0.5 BU 0.5 BD