Difference between revisions of Template talk:VisionStats

Jump to navigation Jump to search
 
Line 1: Line 1:
==Colour coding==
==Colour coding==
Once [[mw:Extension:Scribunto]] is implemented, we should be able to use #if functions or whatever to colour code certain diopter values. Maybe. I can't say I have the most experience with template design, but less grey can't hurt. -[[User:NottNott|<span style="color:#e67e22">NottNott</span>]] <small>([[User talk:NottNott|talk]])</small> 22:18, 20 May 2020 (UTC)
Once [[mw:Extension:Scribunto]] is implemented, we should be able to use #if functions or whatever to colour code certain diopter values. Maybe. I can't say I have the most experience with template design, but less grey can't hurt. -[[User:NottNott|<span style="color:#e67e22">NottNott</span>]] <small>([[User talk:NottNott|talk]])</small> 22:18, 20 May 2020 (UTC)
: I added colors for sphere, based on the categorizations in the [[diopter]] article. [[User:Heddy|Heddy]] ([[User talk:Heddy|talk]]) 05:55, 27 May 2020 (UTC)


== Needs prism ==
== Needs prism ==

Latest revision as of 05:55, 27 May 2020

Colour coding

Once mw:Extension:Scribunto is implemented, we should be able to use #if functions or whatever to colour code certain diopter values. Maybe. I can't say I have the most experience with template design, but less grey can't hurt. -NottNott (talk) 22:18, 20 May 2020 (UTC)

I added colors for sphere, based on the categorizations in the diopter article. Heddy (talk) 05:55, 27 May 2020 (UTC)

Needs prism

Can do with prism values as well. Since prism is so rare, probably have to get more techy with the template so that it is hidden unless it is called, this'll need an extension probably -NottNott (talk) 22:51, 20 May 2020 (UTC)

Yeah, I actually wanted to make cylinder and axis hidden unless called, but the ParserFunctions extension is needed. Heddy (talk) 23:17, 20 May 2020 (UTC)