Form:Ink: Difference between revisions
IssuePress (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
| {{{field|rgb | | {{{field|rgb | ||
| input type=regexp | | input type=regexp | ||
| regexp=/^(25[0-5] | | regexp=/^(25[0-5]!2[0-4][0-9]!1[0-9]{2}![1-9]?[0-9]),(25[0-5]!2[0-4][0-9]!1[0-9]{2}![1-9]?[0-9]),(25[0-5]!2[0-4][0-9]!1[0-9]{2}![1-9]?[0-9])$/ | ||
| message=Must use the format XXX,XXX,XXX, where each value is | | message=Must use the format XXX,XXX,XXX, where each value is 0 to 255, comma separated, and no spaces allowed! | ||
| placeholder=255,255,255 | | placeholder=255,255,255 | ||
| property=Has rgb | | property=Has rgb | ||
Line 39: | Line 39: | ||
| {{{field|cmyk | | {{{field|cmyk | ||
| input type=regexp | | input type=regexp | ||
| regexp=/^(100 | | regexp=/^(100![0-9]{1,2}),(100![0-9]{1,2}),(100![0-9]{1,2}),(100![0-9]{1,2})$/ | ||
| message=Must use the format XXX,XXX,XXX,XXX, where each value is | | message=Must use the format XXX,XXX,XXX,XXX, where each value is 0 to 100, comma separated, and no spaces allowed! | ||
| placeholder=100,100,100,100 | | placeholder=100,100,100,100 | ||
| property=Has cmyk | | property=Has cmyk | ||
}}} | }}} | ||
|- | |- | ||
! CIELab: | ! CIELab*: | ||
| {{{field|cielab | | {{{field|cielab | ||
| input type=regexp | | input type=regexp | ||
| regexp=/^([0-9]{1, | | regexp=/^(100![0-9]{1,2}),-?(100![0-9]{1,2}),-?(100![0-9]{1,2})$/ | ||
| message=Must use the format XXX,XXX,XXX, where L* is 0–100, and a*, b* are - | | message=Must use the format XXX,XXX,XXX, where L* is 0–100, and a*, b* are -100 to 100! | ||
| placeholder= | | placeholder=34,13,-51 | ||
| property=Has cielab | | property=Has cielab | ||
}}} | }}} |
Revision as of 18:10, 3 December 2024
This is the "Ink" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.